diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 95f2787..9799f9a 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -4,6 +4,11 @@ COPY env.yaml env.yaml RUN . /opt/conda/etc/profile.d/conda.sh && \ conda env create -n workshop --file=env.yaml +RUN . /opt/conda/etc/profile.d/conda.sh && \ + conda clean --all -y -f + +RUN rm -rf /var/lib/apt/lists/* + COPY create_conda_user /opt/docker/bin/create_conda_user RUN chmod +x /opt/docker/bin/create_conda_user RUN /opt/docker/bin/create_conda_user @@ -12,4 +17,4 @@ RUN /opt/docker/bin/create_conda_user # ENTRYPOINT [ "/opt/conda/bin/tini", "--", "/opt/docker/bin/workshop_entrypoint" ] # CMD [ "/bin/bash" ] -USER conda \ No newline at end of file +USER conda