Skip to content

Commit 560f18b

Browse files
committed
fix: remove duplicated architecture detection logic.
1 parent d5a3dc0 commit 560f18b

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

dockerfiles/Dockerfile.informative

-10
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,6 @@ FROM ubuntu:latest
99

1010
ENV MOVEVM_VERSION=v0.6.1
1111

12-
RUN ARCH=$(dpkg --print-architecture) && \
13-
if [ "$ARCH" = "amd64" ]; then \
14-
export MOVEVM_ARCH="x86_64"; \
15-
elif [ "$ARCH" = "arm64" ]; then \
16-
export MOVEVM_ARCH="aarch64"; \
17-
else \
18-
echo "Unsupported architecture: $ARCH" && exit 1; \
19-
fi && \
20-
echo "Detected architecture: $MOVEVM_ARCH"
21-
2212
RUN apt-get update && apt-get install -y ca-certificates wget
2313

2414
WORKDIR /informative-indexer

0 commit comments

Comments
 (0)