mirror of
https://framagit.org/fiat-tux/hat-softwares/lutim.git
synced 2026-06-11 01:44:44 +02:00
feat: container is able to run as non-root
This commit is contained in:
+5
-2
@@ -12,8 +12,11 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
|
||||
org.label-schema.version=$VERSION \
|
||||
org.label-schema.schema-version="1.0"
|
||||
|
||||
RUN adduser -D lutim
|
||||
COPY --chown=lutim:lutim . /home/lutim
|
||||
RUN adduser -D lutim \
|
||||
&& addgroup lutim root
|
||||
|
||||
COPY . /home/lutim
|
||||
RUN chmod -R g+rwX /home/lutim
|
||||
|
||||
WORKDIR /home/lutim
|
||||
RUN /bin/sh /home/lutim/docker/build.sh
|
||||
|
||||
Regular → Executable
Regular → Executable
Reference in New Issue
Block a user