Skip to content

Commit 06c66c7

Browse files
authored
Fix GLIBC error on start up, fix build warning (#671)
1 parent 77c6025 commit 06c66c7

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@ frames:
129129
--env GOOS=$(GOOS) \
130130
--env GOARCH=$(GOARCH) \
131131
--env FRAMES_TAG=$(FRAMES_TAG) \
132-
golang:1.23 \
132+
--platform=linux/amd64
133+
golang:1.23-bookworm \
133134
make frames-bin
134135

135136
PHONY: gofmt

cmd/framesd/Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
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-
22-
FROM --platform=linux/amd64 golang:1.23-bookworm as build
21+
FROM golang:1.23-bookworm AS build
2322

2423
WORKDIR /frames
2524
COPY . .
@@ -31,7 +30,7 @@ FROM --platform=linux/amd64 debian:jessie-slim
3130
COPY --from=build /usr/local/bin/framesd /usr/local/bin
3231

3332
VOLUME /etc/framesd
34-
ENV V3IO_GRPC_PORT 8081
35-
ENV V3IO_HTTP_PORT 8080
33+
ENV V3IO_GRPC_PORT=8081
34+
ENV V3IO_HTTP_PORT=8080
3635

3736
CMD framesd -grpcAddr :${V3IO_GRPC_PORT} -httpAddr :${V3IO_HTTP_PORT} -config /etc/framesd.yaml

0 commit comments

Comments
 (0)