File tree Expand file tree Collapse file tree 4 files changed +4
-19
lines changed Expand file tree Collapse file tree 4 files changed +4
-19
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ RUN apt-get update && \
5
5
apt-get install -y libsm6 libxext6 libxrender-dev
6
6
7
7
ENV PYTHONUNBUFFERED=1 \
8
- PATH=/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
8
+ PATH=/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$PATH \
9
9
LANG=C.UTF-8
10
10
11
11
RUN /usr/bin/python3 -m pip install -U pip setuptools && \
@@ -22,11 +22,6 @@ RUN /usr/bin/python3 -m pip install -U pip setuptools && \
22
22
RUN /usr/bin/python3 -m ipykernel install --display-name "Python 3.5 (NGC/TensorFlow 19.04) on Backend.AI" && \
23
23
cat /usr/local/share/jupyter/kernels/python3/kernel.json
24
24
25
- # for apt-get installation using /tmp
26
- RUN mkdir -p /tmp && \
27
- chown root:root /tmp && \
28
- chmod 1777 /tmp
29
-
30
25
# Backend.AI specifics
31
26
COPY policy.yml /etc/backend.ai/jail/policy.yml
32
27
LABEL ai.backend.kernelspec="1" \
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ RUN apt-get update && \
5
5
apt-get install -y libsm6 libxext6 libxrender-dev
6
6
7
7
ENV PYTHONUNBUFFERED=1 \
8
- PATH=/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
8
+ PATH=/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$PATH \
9
9
LANG=C.UTF-8
10
10
11
11
RUN /usr/bin/python3 -m pip install -U pip setuptools && \
@@ -22,11 +22,6 @@ RUN /usr/bin/python3 -m pip install -U pip setuptools && \
22
22
RUN /usr/bin/python3 -m ipykernel install --display-name "Python 3.5 (NGC/TensorFlow 19.05) on Backend.AI" && \
23
23
cat /usr/local/share/jupyter/kernels/python3/kernel.json
24
24
25
- # for apt-get installation using /tmp
26
- RUN mkdir -p /tmp && \
27
- chown root:root /tmp && \
28
- chmod 1777 /tmp
29
-
30
25
# Backend.AI specifics
31
26
COPY policy.yml /etc/backend.ai/jail/policy.yml
32
27
LABEL ai.backend.kernelspec="1" \
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ RUN apt-get update && \
5
5
apt-get install -y libsm6 libxext6 libxrender-dev
6
6
7
7
ENV PYTHONUNBUFFERED=1 \
8
- PATH=/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
8
+ PATH=/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$PATH \
9
9
LANG=C.UTF-8
10
10
11
11
RUN /usr/bin/python3 -m pip install -U pip setuptools && \
@@ -22,11 +22,6 @@ RUN /usr/bin/python3 -m pip install -U pip setuptools && \
22
22
RUN /usr/bin/python3 -m ipykernel install --display-name "Python 3.5 (NGC/TensorFlow 19.06) on Backend.AI" && \
23
23
cat /usr/local/share/jupyter/kernels/python3/kernel.json
24
24
25
- # for apt-get installation using /tmp
26
- RUN mkdir -p /tmp && \
27
- chown root:root /tmp && \
28
- chmod 1777 /tmp
29
-
30
25
# Backend.AI specifics
31
26
COPY policy.yml /etc/backend.ai/jail/policy.yml
32
27
LABEL ai.backend.kernelspec="1" \
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ RUN apt-get update && \
5
5
apt-get install -y libsm6 libxext6 libxrender-dev
6
6
7
7
ENV PYTHONUNBUFFERED=1 \
8
- PATH=/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
8
+ PATH=/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$PATH \
9
9
LANG=C.UTF-8
10
10
11
11
RUN /usr/bin/python3 -m pip install -U pip setuptools && \
You can’t perform that action at this time.
0 commit comments