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

Commit

Permalink
support running as non-root
Browse files Browse the repository at this point in the history
  • Loading branch information
ara4n committed Sep 10, 2019
1 parent 66ec203 commit 89f6e66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ RUN gb build
FROM alpine

# We need this otherwise we don't have a good list of CAs
RUN apk --update add ca-certificates
RUN apk --update add ca-certificates && mkdir /opt/matrix-static

WORKDIR /root/
WORKDIR /opt/matrix-static/
COPY --from=0 /src/bin/* /bin/

CMD ["matrix-static"]

0 comments on commit 89f6e66

Please sign in to comment.