File tree Expand file tree Collapse file tree 5 files changed +5
-22
lines changed
Expand file tree Collapse file tree 5 files changed +5
-22
lines changed Original file line number Diff line number Diff line change @@ -118,10 +118,7 @@ RUN python -m venv ${ACH_RAPIDS_VENV} \
118118 --display-name="Python 3 (RAPIDS 25.10)" \
119119 --prefix=/usr/local
120120
121- COPY . /accelerated-computing-hub
122-
123- # Ensure accelerated-computing-hub directory is writable by any user
124- RUN chmod -R a+rwX /accelerated-computing-hub
121+ COPY --chmod=0777 . /accelerated-computing-hub
125122
126123WORKDIR /accelerated-computing-hub/tutorials/${ACH_TUTORIAL}/notebooks
127124
Original file line number Diff line number Diff line change @@ -50,10 +50,7 @@ RUN apt-get update -y \
5050 && apt-get clean -y \
5151 && rm -rf /var/lib/apt/lists/*
5252
53- COPY . /accelerated-computing-hub
54-
55- # Ensure accelerated-computing-hub directory is writable by any user
56- RUN chmod -R a+rwX /accelerated-computing-hub
53+ COPY --chmod=0777 . /accelerated-computing-hub
5754
5855WORKDIR /accelerated-computing-hub/tutorials/${ACH_TUTORIAL}/notebooks
5956
Original file line number Diff line number Diff line change @@ -77,10 +77,7 @@ RUN curl -L -O https://developer.nvidia.com/downloads/assets/tools/secure/nsight
7777RUN python -m jupyter labextension disable "@jupyterlab/apputils-extension:announcements" \
7878 && python -m jupyter labextension disable "@jupyterlab/console-extension:tracker"
7979
80- COPY . /accelerated-computing-hub
81-
82- # Ensure accelerated-computing-hub directory is writable by any user
83- RUN chmod -R a+rwX /accelerated-computing-hub
80+ COPY --chmod=0777 . /accelerated-computing-hub
8481
8582WORKDIR /accelerated-computing-hub/tutorials/${ACH_TUTORIAL}/notebooks
8683
Original file line number Diff line number Diff line change @@ -47,10 +47,7 @@ RUN apt-get update -y \
4747 && apt-get clean -y \
4848 && rm -rf /var/lib/apt/lists/*
4949
50- COPY . /accelerated-computing-hub
51-
52- # Ensure accelerated-computing-hub directory is writable by any user
53- RUN chmod -R a+rwX /accelerated-computing-hub
50+ COPY --chmod=0777 . /accelerated-computing-hub
5451
5552WORKDIR /accelerated-computing-hub/tutorials/${ACH_TUTORIAL}/notebooks
5653
Original file line number Diff line number Diff line change 144144])
145145
146146
147- Stage0 += copy (src = '.' , dest = '/accelerated-computing-hub' )
148-
149- # Ensure accelerated-computing-hub directory is writable by any user
150- Stage0 += shell (commands = [
151- 'chmod -R a+rwX /accelerated-computing-hub' ,
152- ])
147+ Stage0 += raw (docker = 'COPY --chmod=0777 . /accelerated-computing-hub' )
153148
154149Stage0 += workdir (directory = f'/accelerated-computing-hub/tutorials/{ tutorial } /notebooks' )
155150
You can’t perform that action at this time.
0 commit comments