Skip to content

Commit

Permalink
chore(ci): drop root privileges.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zenithar committed May 17, 2022
1 parent 0503eab commit f0d7335
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 @@ -33,6 +33,9 @@ RUN apk update --no-cache && \
apk add --no-cache ca-certificates && \
rm -rf /var/cache/apk/*

RUN addgroup -S harp && adduser -S -G harp harp

COPY --from=downloader /tmp/harp /usr/bin/harp

USER harp
ENTRYPOINT [ "/usr/bin/harp" ]

0 comments on commit f0d7335

Please sign in to comment.