Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion docker/Dockerfile.postgres
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM postgres:14

RUN apt-get update \
&& apt-get install -y postgresql-14-partman \
&& apt-get install -y --no-install-recommends postgresql-14-partman \
&& rm -rf /var/lib/apt/lists/*
7 changes: 5 additions & 2 deletions internal-packages/clickhouse/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
FROM golang
FROM golang:1.26@sha256:68cb6d68bed024785b69195b89af7ac7a444f27791435f98647edff595aa0479
Comment thread
nicktrn marked this conversation as resolved.


RUN go install github.com/pressly/goose/v3/cmd/goose@latest
RUN go install github.com/pressly/goose/v3/cmd/goose@v3.27.1


COPY ./schema ./schema

ENV GOOSE_DRIVER=clickhouse
ENV GOOSE_DBSTRING="tcp://default:password@clickhouse:9000"
ENV GOOSE_MIGRATION_DIR=./schema

# Run migrations as non-root (dev-only migration helper; goose needs no root).
USER nobody
Comment thread
nicktrn marked this conversation as resolved.
CMD ["goose", "up"]
Loading