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 573ab7d commit 3c75a6cCopy full SHA for 3c75a6c
Dockerfile
@@ -14,12 +14,12 @@ RUN sed -i "s/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g" /etc/apk/repositories
14
ca-certificates upx
15
16
RUN CGO_ENABLED=0 GOOS=linux GOARCH=$TARGETARCH go build --ldflags="-X main.Version=${VERSION}" -o watchAlert . \
17
- && upx -9 watchAlert && chmod +x watchAlert
+ && chmod +x watchAlert
18
19
FROM alpine:3.19
20
21
COPY --from=build /root/watchAlert /app/watchAlert
22
23
WORKDIR /app
24
25
-ENTRYPOINT ["/app/watchAlert"]
+ENTRYPOINT ["/app/watchAlert"]
0 commit comments