We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 022a37d commit 07e637fCopy full SHA for 07e637f
1 file changed
Dockerfile
@@ -23,15 +23,15 @@ COPY --from=builder /usr/local/bin/wal-g /bin/wal-g
23
ENV PGDATA $PGDATA/$PG_MAJOR
24
ENV WALG_ENVDIR /etc/wal-g.d/env
25
26
-RUN sed -i -r 's/#huge_pages.*?/huge_pages = try/g' /usr/share/postgresql/postgresql.conf.sample \
27
- && mkdir -p $WALG_ENVDIR \
+RUN mkdir -p $WALG_ENVDIR \
28
&& apt-get update \
29
&& apt-get install -y --no-install-recommends \
30
jq \
31
python3 \
32
ca-certificates \
33
python3-pip \
34
- && pip3 install envdir
+ && pip3 install envdir \
+ && sed -i -r 's/#huge_pages.*?/huge_pages = off/g' /usr/share/postgresql/postgresql.conf.sample
35
36
CMD ["/docker-entrypoint.sh", "postgres"]
37
EXPOSE 5432
0 commit comments