Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
USER conda