File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ frames:
130130 --env GOARCH=$(GOARCH ) \
131131 --env FRAMES_TAG=$(FRAMES_TAG ) \
132132 --platform=linux/amd64
133- golang:1.23-bookworm \
133+ golang:1.23-alpine \
134134 make frames-bin
135135
136136PHONY : gofmt
Original file line number Diff line number Diff line change 1818# You can also use -e V3IO_GRPC_PORT=9999 and -e V3IO_HTTP_PORT=9998 to set ports
1919# (don't forget to update the -p accordingly)
2020
21- FROM golang:1.23-bookworm AS build
21+ FROM --platform=linux/amd64 golang:1.23-alpine AS build
2222
2323WORKDIR /frames
2424COPY . .
2525ARG FRAMES_VERSION=unknown
2626RUN GOOS=linux GOARCH=amd64 go build -ldflags="-X main.Version=${FRAMES_VERSION}" ./cmd/framesd
2727RUN cp framesd /usr/local/bin
2828
29- FROM --platform=linux/amd64 debian:jessie-slim
30- COPY --from=build /usr/local/bin/framesd /usr/local/bin
31-
3229VOLUME /etc/framesd
3330ENV V3IO_GRPC_PORT=8081
3431ENV V3IO_HTTP_PORT=8080
You can’t perform that action at this time.
0 commit comments