Docker conf

This commit is contained in:
bender committed 2024-10-04 22:29:47 +02:00
1 parent 77e9adfb79
commit 990ca271ca
3 files changed
+55

No files matched your search

+15
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