Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
Do not run container as root #patch (#50)
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 22, 2021
1 parent 11d64b3 commit 2bab8c5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions 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 ["datacatalog"]

0 comments on commit 2bab8c5

Please sign in to comment.