Symptom:
When we build docker image for Postgresql 9.2 9.5 on Oracle Linux 7, we hit below errorfailed to link /usr/share/man/man1/clusterdb.1 -> /etc/alternatives/pgsql-clusterdbman: No such file or directory
failed to link /usr/share/man/man1/createdb.1 -> /etc/alternatives/pgsql-createdbman: No such file or directory
.......
Solution:
It is due to base image Oracle linux does not have such directory (to save space for linux image) /usr/share/man/man1/Add below to Dockerfile to workaround it
RUN mkdir -p /usr/share/man/man1
The full Dockerfile details of Postgresql 9.5 is on github link
No comments:
Post a Comment