Allow multiplayer server build to resolve Go module sums
This commit is contained in:
parent
2ea8bbd647
commit
4bf7ff46a8
@ -3,7 +3,7 @@ WORKDIR /src
|
|||||||
COPY go.mod ./
|
COPY go.mod ./
|
||||||
RUN go mod download
|
RUN go mod download
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN CGO_ENABLED=0 GOOS=linux go test ./... && go build -trimpath -ldflags='-s -w' -o /out/airship-server .
|
RUN CGO_ENABLED=0 GOOS=linux go test -mod=mod ./... && go build -mod=mod -trimpath -ldflags='-s -w' -o /out/airship-server .
|
||||||
|
|
||||||
FROM alpine:3.21
|
FROM alpine:3.21
|
||||||
RUN apk add --no-cache ca-certificates
|
RUN apk add --no-cache ca-certificates
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user