forked from christopher-hsu/scalableMARL
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
55 lines (48 loc) · 1.39 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
FROM nvidia/cuda:11.6.0-base-ubuntu20.04
ARG DEBIAN_FRONTEND=noninteractive
#ROS-Setup
RUN apt-get update \
&& apt-get install -y \
build-essential \
cmake \
cppcheck \
gdb \
git \
lsb-release \
software-properties-common \
sudo \
neovim \
wget \
net-tools \
iputils-ping \
tmux \
locales \
python3-pip \
curl \
vim \
ffmpeg\
&& apt-get clean
# Conda setup
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
RUN bash Miniconda3-latest-Linux-x86_64.sh -b -p /miniconda
ENV PATH=$PATH:/miniconda/condabin:/miniconda/bin
ENV DEBIAN_FRONTEND=noninteractive
RUN DEBIAN_FRONTEND=noninteractive apt-get install keyboard-configuration
RUN sudo apt-get update \
&& sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' \
&& curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add - \
&& sudo apt-get update \
&& sudo apt-get install -y \
python3-catkin-tools \
python3-rosdep \
python3-rosinstall \
python3-vcstool \
ros-noetic-catkin \
ros-noetic-rosbash \
ros-noetic-desktop \
ros-noetic-pcl-ros \
ros-noetic-tf2-geometry-msgs \
&& sudo rosdep init \
&& rosdep update
RUN conda init
WORKDIR /home