Skip to content

Commit ad32aef

Browse files
authored
reset python GPU build workdir (#16)
reset workdir to base
1 parent bc32888 commit ad32aef

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

python/base-gpu/3.10/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
4545
RUN mamba list python | grep '^python ' | tr -s ' ' | cut -d ' ' -f 1,2 >> "${CONDA_DIR}/conda-meta/pinned" && \
4646
mamba clean --all -f -y
4747

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

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

8381
# Overwrite the base run.sh to include `mamba` usage
8482
COPY run.sh /usr/local/bin
83+
84+
WORKDIR /etc/noteable/project

python/base-gpu/3.11/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
4545
RUN mamba list python | grep '^python ' | tr -s ' ' | cut -d ' ' -f 1,2 >> "${CONDA_DIR}/conda-meta/pinned" && \
4646
mamba clean --all -f -y
4747

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

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

8381
# Overwrite the base run.sh to include `mamba` usage
8482
COPY run.sh /usr/local/bin
83+
84+
WORKDIR /etc/noteable/project

python/base-gpu/3.9/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
4545
RUN mamba list python | grep '^python ' | tr -s ' ' | cut -d ' ' -f 1,2 >> "${CONDA_DIR}/conda-meta/pinned" && \
4646
mamba clean --all -f -y
4747

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

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

8381
# Overwrite the base run.sh to include `mamba` usage
8482
COPY run.sh /usr/local/bin
83+
84+
WORKDIR /etc/noteable/project

0 commit comments

Comments
 (0)