Skip to content

Commit

Permalink
reset workdir to base
Browse files Browse the repository at this point in the history
  • Loading branch information
shouples committed Jul 14, 2023
1 parent bc32888 commit c9c6713
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions python/base-gpu/3.10/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN mamba list python | grep '^python ' | tr -s ' ' | cut -d ' ' -f 1,2 >> "${CONDA_DIR}/conda-meta/pinned" && \
mamba clean --all -f -y

WORKDIR /tmp

RUN wget --progress=dot:giga https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.0-1_all.deb && \
dpkg -i cuda-keyring_1.0-1_all.deb

Expand Down Expand Up @@ -82,3 +80,5 @@ ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CONDA_DIR/lib/:$CUDNN_PATH/lib \

# Overwrite the base run.sh to include `mamba` usage
COPY run.sh /usr/local/bin

WORKDIR /etc/noteable/project
4 changes: 2 additions & 2 deletions python/base-gpu/3.11/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN mamba list python | grep '^python ' | tr -s ' ' | cut -d ' ' -f 1,2 >> "${CONDA_DIR}/conda-meta/pinned" && \
mamba clean --all -f -y

WORKDIR /tmp

RUN wget --progress=dot:giga https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.0-1_all.deb && \
dpkg -i cuda-keyring_1.0-1_all.deb

Expand Down Expand Up @@ -82,3 +80,5 @@ ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CONDA_DIR/lib/:$CUDNN_PATH/lib \

# Overwrite the base run.sh to include `mamba` usage
COPY run.sh /usr/local/bin

WORKDIR /etc/noteable/project
4 changes: 2 additions & 2 deletions python/base-gpu/3.9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN mamba list python | grep '^python ' | tr -s ' ' | cut -d ' ' -f 1,2 >> "${CONDA_DIR}/conda-meta/pinned" && \
mamba clean --all -f -y

WORKDIR /tmp

RUN wget --progress=dot:giga https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.0-1_all.deb && \
dpkg -i cuda-keyring_1.0-1_all.deb

Expand Down Expand Up @@ -82,3 +80,5 @@ ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CONDA_DIR/lib/:$CUDNN_PATH/lib \

# Overwrite the base run.sh to include `mamba` usage
COPY run.sh /usr/local/bin

WORKDIR /etc/noteable/project

0 comments on commit c9c6713

Please sign in to comment.