Update Dockerfile

adding arm64
This commit is contained in:
2022-05-29 07:19:52 -04:00
committed by GitHub
parent 692498a7b1
commit b4174b476b

View File

@@ -13,6 +13,9 @@ RUN if [ "$TARGETARCH" == "arm" ]; \
elif [ "$TARGETARCH" == "amd64" ]; \
then wget -P /tmp https://github.com/benbjohnson/litestream/releases/download/${RELEASE}/litestream-${RELEASE}-linux-amd64-static.tar.gz && \
tar -C /usr/local/bin/ -xzvf /tmp/litestream-${RELEASE}-linux-amd64-static.tar.gz; \
elif [ "$TARGETARCH" == "arm64" ]; \
then wget -P /tmp https://github.com/benbjohnson/litestream/releases/download/${RELEASE}/litestream-${RELEASE}-linux-arm64-static.tar.gz && \
tar -C /usr/local/bin/ -xzvf /tmp/litestream-${RELEASE}-linux-arm64-static.tar.gz; \
fi
COPY docker-entrypoint.sh /
@@ -22,4 +25,4 @@ RUN chmod +x /usr/local/bin/litestream
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["bash"]
CMD ["bash"]