And another build
This commit is contained in:
@@ -7,11 +7,11 @@ COPY orborus.go /app/orborus.go
|
|||||||
COPY go.mod /app/go.mod
|
COPY go.mod /app/go.mod
|
||||||
|
|
||||||
RUN go get
|
RUN go get
|
||||||
RUN go build -v
|
#RUN go build -v
|
||||||
|
|
||||||
# Enabled CGO January 2025
|
# Enabled CGO January 2025 (?)
|
||||||
RUN CGO_ENABLED=1 GOOS=linux go build -a -installsuffix cgo -o orborus.
|
#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 .
|
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o orborus .
|
||||||
|
|
||||||
FROM alpine:3.15.0
|
FROM alpine:3.15.0
|
||||||
RUN apk add --no-cache bash tzdata
|
RUN apk add --no-cache bash tzdata
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ RUN go get
|
|||||||
# go get github.com/fsouza/go-dockerclient && \
|
# go get github.com/fsouza/go-dockerclient && \
|
||||||
# go get google.golang.org/grpc/balancer/grpclb@v1.37.1
|
# 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 .
|
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o worker .
|
||||||
|
|
||||||
## ALPINE IMAGE
|
## ALPINE IMAGE
|
||||||
|
|||||||
Reference in New Issue
Block a user