mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-26 11:34:32 +00:00
More detection issues...
This commit is contained in:
parent
b6f6506030
commit
e35041d92d
1 changed files with 2 additions and 2 deletions
|
|
@ -97,9 +97,9 @@ RUN apt-get update && \
|
|||
RUN echo "Detecting architecture" && \
|
||||
TARGETPLATFORM=${TARGETPLATFORM:-linux/$(uname -m)} && \
|
||||
echo "Target platform: $TARGETPLATFORM" && \
|
||||
if echo "$TARGETPLATFORM" | grep -q "amd64"; then \
|
||||
if echo "$TARGETPLATFORM" | grep -q "amd64\|x86_64"; then \
|
||||
ARCH="x86_64"; \
|
||||
elif echo "$TARGETPLATFORM" | grep -q "arm64"; then \
|
||||
elif echo "$TARGETPLATFORM" | grep -q "arm64\|aarch64"; then \
|
||||
ARCH="arm64"; \
|
||||
else \
|
||||
echo "Unsupported architecture: $TARGETPLATFORM" && exit 1; \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue