Skip to content

Commit 3c75a6c

Browse files
authored
♻️ Remove upx command
1 parent 573ab7d commit 3c75a6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ RUN sed -i "s/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g" /etc/apk/repositories
1414
ca-certificates upx
1515

1616
RUN CGO_ENABLED=0 GOOS=linux GOARCH=$TARGETARCH go build --ldflags="-X main.Version=${VERSION}" -o watchAlert . \
17-
&& upx -9 watchAlert && chmod +x watchAlert
17+
&& chmod +x watchAlert
1818

1919
FROM alpine:3.19
2020

2121
COPY --from=build /root/watchAlert /app/watchAlert
2222

2323
WORKDIR /app
2424

25-
ENTRYPOINT ["/app/watchAlert"]
25+
ENTRYPOINT ["/app/watchAlert"]

0 commit comments

Comments
 (0)