Fix 7z install on arm in Sail

This commit is contained in:
Fossil
2024-06-22 23:03:58 +02:00
committed by GitHub
parent 2fb9e33f6e
commit ac5e91befc
+2 -2
View File
@@ -51,7 +51,7 @@ RUN ARCH="$(dpkg --print-architecture)" && \
SZIP_URL="https://www.7-zip.org/a/7z$SEVENZIP_VERSION-linux-x64.tar.xz"; \
fi && \
if [ "$ARCH" = "arm64" ]; then \
SZIP_URL="https://www.7-zip.org/a/7z2407-linux-arm64.tar.xz"; \
SZIP_URL="https://www.7-zip.org/a/7z$SEVENZIP_VERSION-linux-arm64.tar.xz"; \
fi && \
wget "$SZIP_URL" -O /tmp/7z.tar.xz && \
tar -xf /tmp/7z.tar.xz -C /tmp/ && \
@@ -76,4 +76,4 @@ RUN chmod +x /usr/local/bin/start-container
EXPOSE 80
#ENTRYPOINT ["tail", "-f", "/dev/null"] # Use only for debugging
ENTRYPOINT ["start-container"]
ENTRYPOINT ["start-container"]