Skip to content

Commit

Permalink
OPS-7058 Rootless Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncolincap committed Jan 16, 2025
1 parent c6bf5b9 commit 5199fc4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,8 @@ RUN apk add --no-cache ca-certificates

COPY --from=build /workspace/infra-autoscaler /usr/local/bin/infra-autoscaler
COPY config/scaler_config.yml config/scaler_config.yml

RUN chown -R nobody:nogroup /usr/local/bin/infra-autoscaler config/scaler_config.yml
USER nobody

ENTRYPOINT ["infra-autoscaler"]

0 comments on commit 5199fc4

Please sign in to comment.