Update Dockerfile
Browse files- Dockerfile +0 -7
Dockerfile
CHANGED
|
@@ -71,13 +71,6 @@ USER root
|
|
| 71 |
|
| 72 |
# User Debian packages
|
| 73 |
## Security warning : Potential user code executed as root (build time)
|
| 74 |
-
RUN --mount=target=/root/packages.txt,source=packages.txt \
|
| 75 |
-
apt-get update && \
|
| 76 |
-
xargs -r -a /root/packages.txt apt-get install -y --no-install-recommends \
|
| 77 |
-
&& rm -rf /var/lib/apt/lists/*
|
| 78 |
-
|
| 79 |
-
RUN --mount=target=/root/on_startup.sh,source=on_startup.sh,readwrite \
|
| 80 |
-
bash /root/on_startup.sh
|
| 81 |
|
| 82 |
RUN mkdir /data && chown user:user /data
|
| 83 |
RUN pip install bottle
|
|
|
|
| 71 |
|
| 72 |
# User Debian packages
|
| 73 |
## Security warning : Potential user code executed as root (build time)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 74 |
|
| 75 |
RUN mkdir /data && chown user:user /data
|
| 76 |
RUN pip install bottle
|