Skip to content

Commit

Permalink
fix: arch variable expr issue
Browse files Browse the repository at this point in the history
enix223 committed May 24, 2024
1 parent af241bd commit 0d325d0
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ ADD taos.cfg /etc/taos/taos.cfg

WORKDIR /tmp

RUN if [ "$TARGETARCH" = "linux/arm64/v8" ] || [ "$TARGETARCH" = "linux/arm64" ]; then \
RUN if [ "$TARGETARCH" = "arm64" ]; then \
export ARCH=arm64; \
else \
export ARCH=x64; \
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -54,7 +54,7 @@ docker build \
-f Dockerfile_focal \
--build-arg JDKVER=17.0.6_10 \
--build-arg TDVERSION=3.0.2.5 \
--build-arg TARGETARCH=linux/arm64/v8 \
--build-arg TARGETARCH=arm64 \
--tag enix223/tdengine-openjdk-client:17.0.6_10-jdk-focal-3.0.2.5 \
.
```

0 comments on commit 0d325d0

Please sign in to comment.