Remove arm64 COPY from Dockerfile, simplify for x86_64 only
This commit is contained in:
@@ -83,14 +83,7 @@ RUN ARCH="${TARGETARCH:-}" && \
|
||||
# CI builds these binaries from the opencode folder.
|
||||
COPY opencode /opt/opencode-src
|
||||
COPY opencode/packages/opencode/dist/opencode-linux-x64/bin/opencode /opt/opencode-bin/opencode-linux-x64
|
||||
COPY opencode/packages/opencode/dist/opencode-linux-arm64/bin/opencode /opt/opencode-bin/opencode-linux-arm64
|
||||
RUN if [ "$TARGETARCH" = "amd64" ]; then \
|
||||
cp /opt/opencode-bin/opencode-linux-x64 /usr/local/bin/opencode; \
|
||||
elif [ "$TARGETARCH" = "arm64" ]; then \
|
||||
cp /opt/opencode-bin/opencode-linux-arm64 /usr/local/bin/opencode; \
|
||||
else \
|
||||
echo "Unsupported architecture: $TARGETARCH" && exit 1; \
|
||||
fi \
|
||||
RUN cp /opt/opencode-bin/opencode-linux-x64 /usr/local/bin/opencode \
|
||||
&& chmod +x /usr/local/bin/opencode
|
||||
|
||||
# Removed Gemini CLI - not needed for Shopify AI App Builder
|
||||
|
||||
Reference in New Issue
Block a user