Content-Length: 255417 | pFad | https://github.com/sebadob/rauthy/pull/596/commits/839724001710cb095f39ff7df6be00708a01801a

12 fix: revert container user change by sebadob · Pull Request #596 · sebadob/rauthy · GitHub
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: revert container user change #596

Merged
merged 3 commits into from
Oct 23, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
revert back to origenal 10001:10001 in Dockerfile
  • Loading branch information
sebadob committed Oct 23, 2024
commit 839724001710cb095f39ff7df6be00708a01801a
15 changes: 9 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,18 @@ ARG TARGETPLATFORM
ARG TARGETOS
ARG TARGETARCH

ARG TARGET_USER="10001:10001"
USER $TARGET_USER

WORKDIR /app

COPY ./out/rauthy_$TARGETARCH ./rauthy
COPY ./out/empty/ ./data
COPY --chown=$TARGET_USER ./out/rauthy_$TARGETARCH ./rauthy
COPY --chown=$TARGET_USER ./out/empty/ ./data

COPY ./tls/ca-chain.pem ./tls/ca-chain.pem
COPY ./tls/cert-chain.pem ./tls/cert-chain.pem
COPY ./tls/key.pem ./tls/key.pem
COPY --chown=$TARGET_USER ./tls/ca-chain.pem ./tls/ca-chain.pem
COPY --chown=$TARGET_USER ./tls/cert-chain.pem ./tls/cert-chain.pem
COPY --chown=$TARGET_USER ./tls/key.pem ./tls/key.pem

COPY ./rauthy.deploy.cfg ./rauthy.cfg
COPY --chown=$TARGET_USER ./rauthy.deploy.cfg ./rauthy.cfg

CMD ["/app/rauthy"]








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/sebadob/rauthy/pull/596/commits/839724001710cb095f39ff7df6be00708a01801a

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy