Skip to content

Commit a665064

Browse files
committed
Drop privileges to nobody
1 parent cd75b9a commit a665064

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,6 @@ FROM alpine
1414

1515
COPY --from=builder /etcd-postgresql-sync /bin/etcd-postgresql-sync
1616

17+
USER nobody
18+
1719
ENTRYPOINT ["/bin/etcd-postgresql-sync"]

0 commit comments

Comments
 (0)