FROM alpine:latest as downloader
ARG PHANTUN_VERSION="v0.6.0"
ARG PHANTUN_URL="https://github.com/dndx/phantun/releases/download/v0.6.0/phantun_x86_64-unknown-linux-musl.zip"
ARG PHANTUN_PKG="phantun_x86_64-unknown-linux-musl.zip"
RUN apk add unzip \
&& wget -O ${PHANTUN_PKG} ${PHANTUN_URL} \
&& unzip ${PHANTUN_PKG}
FROM scratch
COPY --from=downloader /phantun_server /phantun_server
COPY --from=downloader /phantun_client /phantun_client
CMD ["/phantun_server"]
Content type
Image
Digest
sha256:f473c0e8d…
Size
4.4 MB
Last updated
about 2 years ago
docker pull esinio/phantun