Skip to content

Commit

Permalink
Fix GLIBC error on start up, fix build warning (#671)
Browse files Browse the repository at this point in the history
  • Loading branch information
gtopper authored Jan 19, 2025
1 parent 77c6025 commit 06c66c7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ frames:
--env GOOS=$(GOOS) \
--env GOARCH=$(GOARCH) \
--env FRAMES_TAG=$(FRAMES_TAG) \
golang:1.23 \
--platform=linux/amd64
golang:1.23-bookworm \
make frames-bin

PHONY: gofmt
Expand Down
7 changes: 3 additions & 4 deletions cmd/framesd/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
# You can also use -e V3IO_GRPC_PORT=9999 and -e V3IO_HTTP_PORT=9998 to set ports
# (don't forget to update the -p accordingly)


FROM --platform=linux/amd64 golang:1.23-bookworm as build
FROM golang:1.23-bookworm AS build

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

VOLUME /etc/framesd
ENV V3IO_GRPC_PORT 8081
ENV V3IO_HTTP_PORT 8080
ENV V3IO_GRPC_PORT=8081
ENV V3IO_HTTP_PORT=8080

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

0 comments on commit 06c66c7

Please sign in to comment.