rahulreshma commited on
Commit
acadff7
·
verified ·
1 Parent(s): 4a25409

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -7
Dockerfile CHANGED
@@ -56,15 +56,15 @@ USER root
56
 
57
  # User Debian packages
58
  ## Security warning : Potential user code executed as root (build time)
59
- RUN --mount=target=/root/packages.txt,source=packages.txt \
60
- apt-get update && \
61
- xargs -r -a /root/packages.txt apt-get install -y --no-install-recommends \
62
- && rm -rf /var/lib/apt/lists/*
63
 
64
- RUN --mount=target=/root/on_startup.sh,source=on_startup.sh,readwrite \
65
- bash /root/on_startup.sh
66
 
67
- RUN mkdir /data && chown user:user /data
68
 
69
  #######################################
70
  # End root user section
 
56
 
57
  # User Debian packages
58
  ## Security warning : Potential user code executed as root (build time)
59
+ #RUN --mount=target=/root/packages.txt,source=packages.txt \
60
+ # apt-get update && \
61
+ # xargs -r -a /root/packages.txt apt-get install -y --no-install-recommends \
62
+ # && rm -rf /var/lib/apt/lists/*
63
 
64
+ #RUN --mount=target=/root/on_startup.sh,source=on_startup.sh,readwrite \
65
+ # bash /root/on_startup.sh
66
 
67
+ #RUN mkdir /data && chown user:user /data
68
 
69
  #######################################
70
  # End root user section