Skip to content

Commit

Permalink
Do not run container as root #patch (flyteorg#336)
Browse files Browse the repository at this point in the history
* Do not run container as root

Signed-off-by: Fredrik Sannholm <[email protected]>

* Fix command

Signed-off-by: Fredrik Sannholm <[email protected]>
  • Loading branch information
frsann authored Oct 19, 2021
1 parent 64820e6 commit 9242dd8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions flytepropeller/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,7 @@ COPY --from=builder /artifacts /bin

RUN apk --update add ca-certificates

RUN addgroup -S flyte && adduser -S flyte -G flyte
USER flyte

CMD ["flytepropeller"]

0 comments on commit 9242dd8

Please sign in to comment.