File tree 1 file changed +3
-8
lines changed
1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -12,16 +12,10 @@ USER $NB_USER
12
12
# Set environments for TMC
13
13
ENV TMC_DIR=/opt/tmc/
14
14
ENV TMC_CONFIG_DIR=" ${HOME} /tmc-config/tmc-tmc_cli_rust"
15
- ENV WORK_DIR=/home/$NB_USER /work/
16
-
17
- # Set working directory to /opt/app
18
- WORKDIR /opt/app
19
-
20
- # Set working directory to /opt/tmc
21
- WORKDIR /opt/tmc
15
+ ENV WORK_DIR=/home/$NB_USER
22
16
23
17
# Install TMC
24
- RUN apt-get install -y --no-install-recommends curl \
18
+ apt-get install -y --no-install-recommends curl \
25
19
&& curl -0 https://raw.githubusercontent.com/rage/tmc-cli-rust/main/scripts/install.sh | bash -s x86_64 linux \
26
20
# Set download location for exercises
27
21
&& mkdir -p " ${TMC_DIR} " \
@@ -31,3 +25,4 @@ RUN apt-get install -y --no-install-recommends curl \
31
25
&& fix-permissions " ${TMC_DIR} " \
32
26
&& apt-get purge -y --auto-remove curl \
33
27
&& apt-get clean
28
+
You can’t perform that action at this time.
0 commit comments