mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-28 17:01:16 +00:00
Fix 7z install on arm in Sail
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user