diff --git a/Dockerfile b/Dockerfile index a1d2154214509a4aba2723d9de0aa36404ada506..f943f6abc4a31a73bdcce89477c570ef396e80e0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,49 +1,3 @@ -FROM nvidia/cuda:10.2-cudnn7-runtime-ubuntu18.04 +FROM aicrowd/submission:141447 -ENV DEBIAN_FRONTEND=noninteractive - -COPY apt.txt /tmp/apt.txt -RUN apt -qq update && apt -qq install -y --no-install-recommends `cat /tmp/apt.txt` \ - && rm -rf /var/cache/* - -# Unicode support: -RUN locale-gen en_US.UTF-8 -ENV LANG en_US.UTF-8 -ENV LANGUAGE en_US:en -ENV LC_ALL en_US.UTF-8 - -# Create user home directory -ENV USER_NAME aicrowd -ENV HOME_DIR /home/$USER_NAME - -# Replace HOST_UID/HOST_GUID with your user / group id -ENV HOST_UID 1001 -ENV HOST_GID 1001 - -# Use bash as default shell, rather than sh -ENV SHELL /bin/bash - -# Set up user -RUN adduser --disabled-password \ - --gecos "Default user" \ - --uid ${HOST_UID} \ - ${USER_NAME} - -USER ${USER_NAME} -WORKDIR ${HOME_DIR} - -ENV CONDA_DIR ${HOME_DIR}/.conda - -RUN wget -nv -O miniconda.sh https://repo.anaconda.com/miniconda/Miniconda3-py38_4.9.2-Linux-x86_64.sh \ - && bash miniconda.sh -b -p ${CONDA_DIR} \ - && . ${CONDA_DIR}/etc/profile.d/conda.sh \ - && conda clean -y -a \ - && rm -rf miniconda.sh - -ENV PATH ${CONDA_DIR}/bin:${PATH} - -RUN conda install cmake -y && conda clean -y -a -COPY --chown=1001:1001 requirements.txt ${HOME_DIR}/requirements.txt -RUN pip install -r requirements.txt --no-cache-dir - -COPY --chown=1001:1001 . ${HOME_DIR} \ No newline at end of file +COPY --chown=1001:1001 . . \ No newline at end of file diff --git a/run.sh b/run.sh index 76852fd5ce2094e13de8cae65ec63d98bb365477..d94572a3c1bd5e55b1b72e8791a7552594038587 100755 --- a/run.sh +++ b/run.sh @@ -1,4 +1,5 @@ #!/bin/bash +sleep 10000000 python rollout.py