Skip to content

Commit 7183dd0

Browse files
authored
chore: remove redundant docker image steps
1 parent a2dc1f7 commit 7183dd0

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
FROM golang:1.23.0-alpine AS builder
22

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]
3+
RUN apk add --no-cache git build-base libpng-dev
64

75
WORKDIR $GOPATH/src/github.com/satisfactorymodding/smr-api/
86

@@ -14,7 +12,6 @@ RUN go mod download
1412

1513
COPY . .
1614

17-
RUN go generate -tags tools -x ./...
1815
RUN CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -v -a -installsuffix cgo -o /go/bin/api cmd/api/serve.go
1916

2017

0 commit comments

Comments
 (0)