Skip to content

Commit

Permalink
Remove user setup
Browse files Browse the repository at this point in the history
  • Loading branch information
andyasp committed May 30, 2024
1 parent 234ccf3 commit 3e4d88b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ FROM gcr.io/distroless/static-debian12
COPY --from=build /src/rollout-operator/rollout-operator /bin/rollout-operator
ENTRYPOINT [ "/bin/rollout-operator" ]

# Create rollout-operator user to run as non-root.
RUN addgroup -g 10000 -S rollout-operator && \
adduser -u 10000 -S rollout-operator -G rollout-operator
USER rollout-operator:rollout-operator

ARG revision
LABEL org.opencontainers.image.title="rollout-operator" \
org.opencontainers.image.source="https://github.com/grafana/rollout-operator" \
Expand Down
5 changes: 0 additions & 5 deletions integration/mock-service/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@ FROM gcr.io/distroless/static-debian12
COPY mock-service /bin/mock-service
ENTRYPOINT [ "/bin/mock-service" ]

# Create mock-service user to run as non-root.
RUN addgroup -g 10000 -S mock-service && \
adduser -u 10000 -S mock-service -G mock-service
USER mock-service:mock-service

ARG revision
LABEL org.opencontainers.image.title="mock-service" \
org.opencontainers.image.source="https://github.com/grafana/rollout-operator/integration/mock-service" \
Expand Down

0 comments on commit 3e4d88b

Please sign in to comment.