We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 715a940 commit 335a964Copy full SHA for 335a964
linux/Dockerfile
@@ -28,7 +28,10 @@ RUN go build \
28
-o /helloworld .
29
30
# Compress with UPX (trade-off: smaller size vs startup time)
31
-RUN apk add --no-cache upx && upx --best --lzma /helloworld
+# Note: UPX is not available for s390x architecture
32
+RUN if [ "$(uname -m)" != "s390x" ]; then \
33
+ apk add --no-cache upx && upx --best --lzma /helloworld; \
34
+ fi
35
36
# ------------
37
# Certificates
0 commit comments