Skip to content

Commit

Permalink
Use scratch as the base image instead of alpine.
Browse files Browse the repository at this point in the history
  • Loading branch information
wi1dcard committed Jan 9, 2020
1 parent 702f69a commit 0e98485
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM alpine
FROM scratch

ARG ARCH
EXPOSE 9550

COPY dist/v2ray-exporter_linux_${ARCH} /usr/bin/v2ray-exporter
ENTRYPOINT [ "/usr/bin/v2ray-exporter" ]

0 comments on commit 0e98485

Please sign in to comment.