Merge pull request #6220 from stonezdj/add_util_linux

Fix issue when query psql cli failed on more command not found
This commit is contained in:
Daniel Jiang 2018-11-09 17:39:47 +08:00 committed by GitHub
commit 555c0cb181
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,6 +14,8 @@ RUN tdnf install -y shadow gzip postgresql >> /dev/null\
&& sed -i "s|#unix_socket_directories = '/tmp'.*|unix_socket_directories = '/run/postgresql'|g" /usr/share/postgresql/postgresql.conf.sample \
&& tdnf clean all
RUN tdnf erase -y toybox && tdnf install -y util-linux
VOLUME /var/lib/postgresql/data
ADD ./make/photon/db/docker-entrypoint.sh /entrypoint.sh