copy missing scripts

This commit is contained in:
Lukas Prettenthaler 2022-06-12 19:30:07 +02:00
parent 52ee605ed1
commit 4767514530
No known key found for this signature in database
GPG Key ID: 58E5A82932BCE65D

View File

@ -8,6 +8,7 @@ FROM ${ALPINE_IMAGE}:${ALPINE_VERSION} as builder
ARG ZT_COMMIT
COPY patches /patches
COPY scripts /scripts
RUN apk add --update alpine-sdk linux-headers openssl-dev \
&& git clone --quiet https://github.com/zerotier/ZeroTierOne.git /src \
@ -26,7 +27,7 @@ LABEL org.opencontainers.image.title="zerotier" \
org.opencontainers.image.licenses="MIT" \
org.opencontainers.image.source="https://github.com/zyclonite/zerotier-docker"
COPY --from=builder /src/zerotier-one /src/scripts/entrypoint.sh /usr/sbin/
COPY --from=builder /src/zerotier-one /scripts/entrypoint.sh /usr/sbin/
RUN apk add --no-cache --purge --clean-protected libc6-compat libstdc++ \
&& mkdir -p /var/lib/zerotier-one \