Skip to content
Snippets Groups Projects
Commit 5b3fbf78 authored by Robert Cutajar's avatar Robert Cutajar
Browse files

Not switching to USER 1001 in docker

parent 291be33d
No related branches found
No related tags found
Loading
Pipeline #268259104 failed
......@@ -149,10 +149,9 @@ RUN cargo check --color always --all-features \
FROM scratch as server
COPY --from=stable /app/target/*/release/samotop-server /bin/samotop
COPY --from=stable /var/local/musl/bin/openssl /bin/openssl
COPY /samotop-server/ssl /var/ssl
ENV PATH=/bin
#COPY -Samotop.crt Samotop.crt
#COPY -Samotop.key Samotop.key
#COPY -Samotop.pfx Samotop.pfx
VOLUME ["/var/ssl"]
ENTRYPOINT ["/bin/samotop"]
CMD ["--help"]
USER 1001
#USER 1001
FROM debian:buster-slim
COPY samotop /usr/local/bin/samotop
#COPY -Samotop.crt Samotop.crt
#COPY -Samotop.key Samotop.key
#COPY -Samotop.pfx Samotop.pfx
ENTRYPOINT ["samotop"]
CMD ["--help"]
USER 1001
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment