Skip to content

Conversation

@ImreSamu
Copy link
Contributor

pg >=15 alpine: "Add configure option --with-zstd to enable Zstandard builds"

NOW: Test postgres:15beta1-alpine ( current )

docker run --name current_pgalpine15 -e POSTGRES_PASSWORD=pi31415926 -d postgres:15beta1-alpine -c wal_compression=zstd # .... Error in the logs 2022-06-30 06:48:41.233 GMT [31] FATAL: invalid value for parameter "wal_compression": "zstd" 2022-06-30 06:48:41.233 GMT [31] HINT: Available values: pglz, lz4, on, off. 

PROPOSAL: Test pgalpine15_zstd

$ cd ./15/alpine $ docker build -t pgalpine15_zstd . $ docker run --name pgalpine15_zstd -e POSTGRES_PASSWORD=pi31415926 -d pgalpine15_zstd -c wal_compression=zstd $ docker exec -ti pgalpine15_zstd psql -U postgres -c "SHOW wal_compression;" wal_compression ----------------- zstd (1 row)

Size difference:

$ docker images | grep -E "(15beta1-alpine|pgalpine15_zstd)" pgalpine15_zstd latest b5e422128289 46 minutes ago 218MB postgres 15beta1-alpine 0ee202fdba91 8 days ago 218MB 

./update.sh test

  • only the 15/alpine/Dockerfile has changed
@tianon tianon force-pushed the alpine-with-zstd branch from 4d0585b to 7b8a5db Compare June 30, 2022 22:53
@tianon
Copy link
Member

tianon commented Jun 30, 2022

(Force pushed to pick up 13c3f7a 👀)

@tianon tianon merged commit 8e31140 into docker-library:master Jun 30, 2022
docker-library-bot added a commit to docker-library-bot/official-images that referenced this pull request Jun 30, 2022
Changes: - docker-library/postgres@8e31140: Merge pull request docker-library/postgres#976 from ImreSamu/alpine-with-zstd - docker-library/postgres@7b8a5db: PG15 alpine: enable Zstandard builds - docker-library/postgres@13c3f7a: Update 15 to 15beta2, bullseye 15~beta2-1.pgdg110+1
@ImreSamu ImreSamu deleted the alpine-with-zstd branch June 30, 2022 23:22
BaurzhanSakhariev pushed a commit to crate/official-images that referenced this pull request Jul 18, 2022
Changes: - docker-library/postgres@8e31140: Merge pull request docker-library/postgres#976 from ImreSamu/alpine-with-zstd - docker-library/postgres@7b8a5db: PG15 alpine: enable Zstandard builds - docker-library/postgres@13c3f7a: Update 15 to 15beta2, bullseye 15~beta2-1.pgdg110+1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants