mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-22 18:25:56 +01:00
fix hostname command not found (#7045)
Signed-off-by: mycroftlin <mycroftlin@tencent.com>
This commit is contained in:
parent
7e6de0b596
commit
7aa00aee87
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user