Skip to content

Commit a8d9aff

Browse files
feat: add postgresql-client to flow-worker image (#4277)
- Adds postgresql-client to the flow-worker image. This is a preparatory PR for an upcoming PG to PG schema migration feature, for which we will be using psql, pg_dump and pg_dumpall. This should add roughly 4-5MB of size to the flow-worker image
1 parent 67338f8 commit a8d9aff

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

stacks/flow.Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ ENTRYPOINT ["./peer-flow", "api", "--port", "8112", "--gateway-port", "8113"]
4343

4444
FROM flow-base AS flow-worker
4545

46+
USER root
47+
RUN apk add --no-cache postgresql-client
48+
USER peerdb
49+
4650
# Sane defaults for OpenTelemetry
4751
ENV OTEL_METRIC_EXPORT_INTERVAL=10000
4852
ENV OTEL_EXPORTER_OTLP_COMPRESSION=gzip

0 commit comments

Comments
 (0)