Skip to content

Commit

Permalink
Merge pull request #56 from mikemrm/use-non-root-user
Browse files Browse the repository at this point in the history
switch to not using root user
  • Loading branch information
mikemrm authored Jan 8, 2021
2 parents e8f08dd + 918fea6 commit c8a6831
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 @@ -10,4 +10,7 @@ EXPOSE 50061
ENTRYPOINT ["/usr/bin/hegel"]

RUN apk add --update --upgrade ca-certificates
RUN adduser -D -u 1000 tinkerbell
USER tinkerbell

COPY --from=0 /usr/myapp/bin/hegel /usr/bin/hegel

0 comments on commit c8a6831

Please sign in to comment.