We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2dc1f7 commit 7183dd0Copy full SHA for 7183dd0
Dockerfile
@@ -1,8 +1,6 @@
1
FROM golang:1.23.0-alpine AS builder
2
3
-RUN apk add --no-cache git build-base libpng-dev protoc
4
-RUN go install google.golang.org/protobuf/cmd/[email protected]
5
-RUN go install google.golang.org/grpc/cmd/[email protected]
+RUN apk add --no-cache git build-base libpng-dev
6
7
WORKDIR $GOPATH/src/github.com/satisfactorymodding/smr-api/
8
@@ -14,7 +12,6 @@ RUN go mod download
14
12
15
13
COPY . .
16
17
-RUN go generate -tags tools -x ./...
18
RUN CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -v -a -installsuffix cgo -o /go/bin/api cmd/api/serve.go
19
20
0 commit comments