Skip to content

Commit 71fa560

Browse files
committed
update build deps
1 parent 6789f24 commit 71fa560

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

.github/workflows/postgres.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
- "postgres/**"
1313
- ".github/workflows/**"
1414
schedule:
15-
- cron: "05 09 * * 1"
15+
- cron: "06 09 * * 1"
1616

1717
concurrency:
1818
group: ${{ github.head_ref || github.sha }}

postgres/Dockerfile.non-durable

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
ARG POSTGRES_VERSION
1+
ARG POSTGRES_VERSION=latest
22
FROM postgres:${POSTGRES_VERSION}-alpine
33
COPY non-durable-settings.sh /docker-entrypoint-initdb.d/01-non-durable-settings.sh

postgres/Dockerfile.non-durable-anon

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
1-
ARG POSTGRES_VERSION
1+
ARG POSTGRES_VERSION=latest
22
###
3-
FROM postgres:${POSTGRES_VERSION}-alpine as builder
3+
FROM postgres:${POSTGRES_VERSION}-alpine AS builder
4+
5+
ARG POSTGRES_VERSION
46

5-
RUN apk add make curl gcc libc-dev clang15 llvm15
7+
RUN apk add make curl clang19 llvm19
68
RUN curl https://gitlab.com/dalibo/postgresql_anonymizer/-/archive/1.3.2/postgresql_anonymizer-1.3.2.tar.gz -o anon.tar.gz && \
79
mkdir anon && \
810
tar zxvf anon.tar.gz -C anon --strip-components 1
911
RUN cd anon && make && make install
1012

1113
###
12-
FROM postgres:${POSTGRES_VERSION}-alpine
14+
FROM postgres:${POSTGRES_VERSION}-alpine AS final
1315

1416
COPY --from=builder /usr/local/share/postgresql /usr/local/share/postgresql
1517
COPY --from=builder /usr/local/lib/postgresql /usr/local/lib/postgresql

0 commit comments

Comments
 (0)