Skip to content

Commit

Permalink
[docker] download binaries automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
madratman committed Oct 22, 2019
1 parent e43bbc5 commit aad43b2
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,17 @@ FROM $BASE_IMAGE

RUN apt-get update
RUN apt-get install \
git \
libglu1-mesa-dev \
pulseaudio \
python3 \
python3-pip \
sudo \
libglu1-mesa-dev \
xdg-user-dirs \
pulseaudio \
sudo \
wget \
x11-xserver-utils \
xdg-user-dirs \
unzip \
-y --no-install-recommends

RUN pip3 install setuptools wheel
Expand All @@ -23,10 +26,15 @@ RUN adduser --force-badname --disabled-password --gecos '' --shell /bin/bash air
adduser airsim_user video

USER airsim_user
ENV USER airsim_user
WORKDIR /home/airsim_user

RUN mkdir -p /home/airsim_user/Documents/AirSim
#COPY settings.json /home/airsim_user/Documents/AirSim
#ADD Documents /home/airsim_user/Documents
RUN git clone https://github.com/microsoft/AirSim-NeurIPS2019-Drone-Racing && \
cd AirSim-NeurIPS2019-Drone-Racing && \
bash download_training_binaries.sh && \
bash download_qualification_binaries.sh && \
mv AirSim_Training/ ../ && \
mv AirSim_Qualification/ ../ && \
cd ../

RUN sudo chown -R airsim_user /home/airsim_user
RUN sudo chown -R airsim_user /home/airsim_user

0 comments on commit aad43b2

Please sign in to comment.