Skip to content

Commit b4604f5

Browse files
committed
Fix new zstd support for alpine images
In e8ebf74 zstd was installed as build dependency and thus does not end up in the final image which in turn renders docker-entrypoint.sh broken when using *.sql.zst files.
1 parent d80a8db commit b4604f5

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

10/alpine/Dockerfile

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

11/alpine/Dockerfile

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

12/alpine/Dockerfile

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

13/alpine/Dockerfile

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

14/alpine/Dockerfile

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Dockerfile-alpine.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ RUN set -eux; \
5858
tcl-dev \
5959
util-linux-dev \
6060
zlib-dev \
61-
zstd \
6261
# https://www.postgresql.org/docs/10/static/release-10.html#id-1.11.6.9.5.13
6362
icu-dev \
6463
{{ if .major >= 14 then ( -}}
@@ -134,6 +133,7 @@ RUN set -eux; \
134133
# tzdata is optional, but only adds around 1Mb to image size and is recommended by Django documentation:
135134
# https://docs.djangoproject.com/en/1.10/ref/databases/#optimizing-postgresql-s-configuration
136135
tzdata \
136+
zstd \
137137
; \
138138
apk del --no-network .build-deps; \
139139
cd /; \

0 commit comments

Comments
 (0)