Skip to content

Commit 5054b26

Browse files
authored
docker if logic++
1 parent a784e4f commit 5054b26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ RUN python -V
55
RUN python -c 'import platform;print(platform.machine())'
66
ARG TARGETARCH
77
RUN echo $TARGETARCH
8-
RUN if [[ "$TARGETARCH" == "arm64" ]] ; then \
8+
RUN if [ "$TARGETARCH" = "arm64" ] ; then \
99
pip install https://github.com/mosquito/cysystemd/releases/download/1.6.2/cysystemd-1.6.2-cp312-cp312-manylinux_2_28_aarch64.whl ; \
1010
else \
1111
pip install https://github.com/mosquito/cysystemd/releases/download/1.6.2/cysystemd-1.6.2-cp312-cp312-manylinux_2_28_x86_64.whl ; \

0 commit comments

Comments
 (0)