We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a945d3d commit 9639d70Copy full SHA for 9639d70
1 file changed
Dockerfile
@@ -14,7 +14,7 @@ RUN git describe --tags --always > PROJECT_VERSION && \
14
date --iso-8601=seconds > PROJECT_BUILD_DATE && \
15
git rev-parse HEAD > PROJECT_COMMIT_HASH
16
17
-FROM debian:latest AS execution
+FROM gcr.io/distroless/cc-debian13:nonroot@sha256:8f960b7fc6a5d6e28bb07f982655925d6206678bd9a6cde2ad00ddb5e2077d78
18
19
WORKDIR /app
20
@@ -24,10 +24,4 @@ COPY --from=builder /build/PROJECT_VERSION .
24
COPY --from=builder /build/PROJECT_BUILD_DATE .
25
COPY --from=builder /build/PROJECT_COMMIT_HASH .
26
27
-RUN addgroup --gid 10001 xrp && \
28
- adduser --uid 10001 --gid 10001 --disabled-password --gecos "" xrp && \
29
- chown xrp:xrp /app/xrp-indexer
30
-
31
-USER xrp
32
33
CMD ["./xrp-indexer"]
0 commit comments