Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flow.Dockerfile: go 1.21.x & don't install dev packages on base #1010

Merged
merged 1 commit into from
Jan 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions stacks/flow.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1.2

FROM golang:1.21.3-bookworm AS builder
FROM golang:1.21-bookworm AS builder
RUN apt-get update && apt-get install -y gcc libgeos-dev
WORKDIR /root/flow

Expand All @@ -19,7 +19,7 @@ ENV CGO_ENABLED=1
RUN go build -ldflags="-s -w" -o /root/peer-flow .

FROM debian:bookworm-slim AS flow-base
RUN apt-get update && apt-get install -y ca-certificates gcc libgeos-dev
RUN apt-get update && apt-get install -y ca-certificates libgeos-c1v5
WORKDIR /root
COPY --from=builder /root/peer-flow .

Expand Down
Loading