Skip to content

Commit

Permalink
Fix docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
jurriaan committed Apr 19, 2024
1 parent ce67375 commit 12ec19e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Containerfile.github
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FROM docker.io/library/alpine as prepare
RUN mkdir -p /home/meshstellar
COPY meshstellar-linux-x86_64 /
RUN chmod a+x meshstellar-linux-x86_64
FROM gcr.io/distroless/static:nonroot AS runtime
COPY --from=prepare --chown=65532:65532 /home/meshstellar /home/meshstellar
COPY meshstellar-linux-x86_64 /usr/local/bin/meshstellar
COPY --from=prepare /meshstellar-linux-x86_64 /usr/local/bin/meshstellar
VOLUME /home/meshstellar
CMD ["/usr/local/bin/meshstellar"]

0 comments on commit 12ec19e

Please sign in to comment.