diff --git a/build/pgbackrest/Dockerfile b/build/pgbackrest/Dockerfile index c17cca1..f8477a9 100644 --- a/build/pgbackrest/Dockerfile +++ b/build/pgbackrest/Dockerfile @@ -25,8 +25,8 @@ RUN apt-get update ;apt-get install -y --no-install-recommends \ openssh-client \ bzip2 \ lz4 \ - pgbackrest ;\ - sed -i 's/^/#/g' /etc/pgbackrest.conf ;\ + pgbackrest && \ + sed -i 's/^/#/g' /etc/pgbackrest.conf && \ rm -rf /var/cache/apt/* diff --git a/build/postgres-gis/Dockerfile b/build/postgres-gis/Dockerfile index daa8189..3ebe62e 100644 --- a/build/postgres-gis/Dockerfile +++ b/build/postgres-gis/Dockerfile @@ -43,8 +43,8 @@ RUN apt-get update ;apt-get install -y --no-install-recommends \ patroni \ postgresql-${PG_MAJOR//.}-postgis-3 \ postgresql-plperl-${PG_MAJOR//.} \ - postgresql-pltcl-${PG_MAJOR//.} ;\ - sed -i 's/^/#/g' /etc/pgbackrest.conf ;\ + postgresql-pltcl-${PG_MAJOR//.} && \ + sed -i 's/^/#/g' /etc/pgbackrest.conf && \ rm -rf /var/cache/apt/* # open up the postgres port