mirror of
https://github.com/sstent/containers.git
synced 2026-01-25 16:41:51 +00:00
Update Dockerfile
adding arm64
This commit is contained in:
@@ -13,6 +13,9 @@ RUN if [ "$TARGETARCH" == "arm" ]; \
|
|||||||
elif [ "$TARGETARCH" == "amd64" ]; \
|
elif [ "$TARGETARCH" == "amd64" ]; \
|
||||||
then wget -P /tmp https://github.com/benbjohnson/litestream/releases/download/${RELEASE}/litestream-${RELEASE}-linux-amd64-static.tar.gz && \
|
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; \
|
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
|
fi
|
||||||
|
|
||||||
COPY docker-entrypoint.sh /
|
COPY docker-entrypoint.sh /
|
||||||
|
|||||||
Reference in New Issue
Block a user