refactor(docker): remove unnecessary root user
The USER root directive isn't needed directly after FROM Signed-off-by: Sebastian Yaghoubi <sebastianyaghoubi@gmail.com>
This commit is contained in:
parent
125e206047
commit
1c017879fc
1 changed files with 0 additions and 2 deletions
|
|
@ -1,7 +1,5 @@
|
||||||
FROM python:3.13-slim-bullseye
|
FROM python:3.13-slim-bullseye
|
||||||
|
|
||||||
USER root
|
|
||||||
|
|
||||||
ARG INSTALL_GIT=false
|
ARG INSTALL_GIT=false
|
||||||
RUN if [ "$INSTALL_GIT" = "true" ]; then \
|
RUN if [ "$INSTALL_GIT" = "true" ]; then \
|
||||||
apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*; \
|
apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*; \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue