3
0

Docker conf

This commit is contained in:
2024-10-04 22:29:47 +02:00
parent 77e9adfb79
commit 990ca271ca
3 changed files with 55 additions and 0 deletions

15
Dockerfile Normal file
View File

@ -0,0 +1,15 @@
ARG IMAGE_FROM
FROM $IMAGE_FROM
# become root
USER root
# do somthing as root, e.g. install packages, set up things ...
# RUN ...
# copy the source of the agent in this repo
COPY --chown=user:user ./src/ /ums-agenten/project/src/
# fix permissions
RUN chown -R user:user /ums-agenten
# switch back to user
USER user