You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Dockerfile
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
-
FROM golang:1.23-bullseye as builder
2
-
ARG upx_brute="--ultra-brute"
1
+
FROM golang:1.24-alpine AS builder
3
2
WORKDIR /build
4
3
5
-
RUN apt-get update && apt-get install -y upx
4
+
RUN apk update && apk add upx
5
+
6
6
COPY . .
7
7
8
8
ARG VERSION=main
@@ -11,7 +11,7 @@ ENV GO111MODULE=on \
11
11
GOOS=linux
12
12
13
13
RUN go build -a -installsuffix cgo -ldflags="-w -s -X github.com/bakito/batch-job-controller/version.Version=${VERSION}" -o batch-job-controller cmd/generic/main.go && \
0 commit comments