We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a93034 commit 86d4dc5Copy full SHA for 86d4dc5
2 files changed
.github/workflows/antithesis.yml
@@ -45,6 +45,8 @@ jobs:
45
file: ./postgres.Dockerfile
46
platforms: linux/amd64
47
push: true
48
+ build-args: |
49
+ ENABLE_ASSERTIONS=1
50
tags: |
51
${{ env.REGISTRY }}/postgres:latest
52
${{ env.REGISTRY }}/postgres:${{ github.sha }}
postgres.Dockerfile
@@ -1,6 +1,7 @@
1
FROM debian:bookworm-slim AS builder
2
3
ARG PG_VERSION=18.3
4
+ARG ENABLE_ASSERTIONS=
5
6
RUN apt-get update && apt-get install -y --no-install-recommends \
7
build-essential \
@@ -52,7 +53,8 @@ RUN CC=/usr/local/bin/clang-antithesis \
53
./configure \
54
--prefix=/usr/local/pgsql \
55
--with-openssl \
- --with-icu
56
+ --with-icu \
57
+ ${ENABLE_ASSERTIONS:+--enable-cassert}
58
59
RUN make -j"$(nproc)" && make install
60
0 commit comments