And another build

This commit is contained in:
Frikky
2025-01-23 18:27:30 +01:00
parent b40fb45c17
commit 89fcd6202e
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -7,11 +7,11 @@ COPY orborus.go /app/orborus.go
COPY go.mod /app/go.mod
RUN go get
RUN go build -v
#RUN go build -v
# Enabled CGO January 2025
RUN CGO_ENABLED=1 GOOS=linux go build -a -installsuffix cgo -o orborus.
#RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o orborus .
# Enabled CGO January 2025 (?)
#RUN CGO_ENABLED=1 GOOS=linux go build -a -installsuffix cgo -o orborus.
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o orborus .
FROM alpine:3.15.0
RUN apk add --no-cache bash tzdata
+1 -1
View File
@@ -23,7 +23,7 @@ RUN go get
# go get github.com/fsouza/go-dockerclient && \
# go get google.golang.org/grpc/balancer/grpclb@v1.37.1
RUN go build
#RUN go build
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o worker .
## ALPINE IMAGE