admin管理员组文章数量:1418593
I am not so sure what have I did wrongly, I was trying to install the set_user extension in the postgresql-16 which was installed in the alpine linux docker file. Here are the steps I did:
- Pull alpine docker image
docker pull alpine
- Run the docker image and access to the docker container
docker run -t -d b0c9d60fc5e3 docker exec -it 3df8d7b4b26696de73a2a8cc508e3315c0702529bb7c546f03b6a3d7fc1212ad sh
- Install postgresql16 and start the service
apk add postgresql16 mkdir /run/postgresql chown postgres:postgres /run/postgresql/ su postgres mkdir /var/lib/postgresql/data chmod 0700 /var/lib/postgresql/data initdb -D /var/lib/postgresql/data pg_ctl start -D /var/lib/postgresql/data
- Import the folder into the docker container
- cd to the set_user folder inside the docker container then type "make", producing this PNG file as output
I will encountered an error
Makefile:25: /usr/lib/postgresql16/pgxs/src/makefiles/pgxs.mk: No such file or directory
make: *** No rule to make target '/usr/lib/postgresql16/pgxs/src/makefiles/pgxs.mk'. Stop.
error when I want to install the set_user.
本文标签: install setuser extension in postgresql in alpine dockerStack Overflow
版权声明:本文标题:install set_user extension in postgresql in alpine docker - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745287463a2651585.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论