mirror of
https://github.com/sstent/containers.git
synced 2025-12-06 08:01:51 +00:00
Update Dockerfile
adding arm64
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user