fix hostname command not found (#7045)

Signed-off-by: mycroftlin <mycroftlin@tencent.com>
This commit is contained in:
Che-Wei Lin 2019-03-15 10:52:47 +08:00 committed by Yan
parent 7e6de0b596
commit 7aa00aee87

View File

@ -14,7 +14,7 @@ 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 \ && sed -i "s|#unix_socket_directories = '/tmp'.*|unix_socket_directories = '/run/postgresql'|g" /usr/share/postgresql/postgresql.conf.sample \
&& tdnf clean all && tdnf clean all
RUN tdnf erase -y toybox && tdnf install -y util-linux RUN tdnf erase -y toybox && tdnf install -y util-linux net-tools
VOLUME /var/lib/postgresql/data VOLUME /var/lib/postgresql/data