zalando / spilo

Highly available elephant herd: HA PostgreSQL cluster using Docker
Apache License 2.0
1.58k stars 395 forks source link

Building docker image from release 3.0-p1 #991

Open Avnshrai opened 7 months ago

Avnshrai commented 7 months ago

I am trying to build a image by downloading the zip file from https://github.com/zalando/spilo/archive/refs/tags/3.0-p1.tar.gz and getting the below error. And when I am building master branch I am able to do it without any error.

> 738.7 creating symlink /usr/share/postgresql/13/extension/postgis_topology-3.control -> ../../14/extension/postgis_topology-3.control
> 738.7 creating symlink /usr/share/postgresql/13/extension/refint.control -> ../../14/extension/refint.control
> 738.7 creating symlink /usr/share/postgresql/13/extension/set_user.control -> ../../14/extension/set_user.control
> 738.7 creating symlink /usr/share/postgresql/13/extension/sslinfo.control -> ../../14/extension/sslinfo.control
> 738.7 creating symlink /usr/share/postgresql/13/extension/tablefunc.control -> ../../14/extension/tablefunc.control
> 738.7 creating symlink /usr/share/postgresql/13/extension/tcn.control -> ../../14/extension/tcn.control
> 738.7 creating symlink /usr/share/postgresql/13/extension/timescaledb.control -> ../../14/extension/timescaledb.control
> 738.7 creating symlink /usr/share/postgresql/13/extension/tsm_system_rows.control -> ../../14/extension/tsm_system_rows.control
> 738.7 creating symlink /usr/share/postgresql/13/extension/tsm_system_time.control -> ../../14/extension/tsm_system_time.control
> 738.7 creating symlink /usr/share/postgresql/13/extension/unaccent.control -> ../../14/extension/unaccent.control
> 738.7 creating symlink /usr/share/postgresql/13/extension/uuid-ossp.control -> ../../14/extension/uuid-ossp.control
> 738.7 creating symlink /usr/share/postgresql/13/extension/xml2.control -> ../../14/extension/xml2.control
> 738.7 creating symlink /usr/share/postgresql/13/contrib/bg_mon.html -> ../../14/contrib/bg_mon.html
> 738.7 creating symlink /usr/share/postgresql/13/contrib/newgrants_pgq.sql -> ../../14/contrib/newgrants_pgq.sql
> 738.7 creating symlink /usr/share/postgresql/13/contrib/newgrants_pgq_node.sql -> ../../14/contrib/newgrants_pgq_node.sql
> 738.8 creating symlink /usr/share/postgresql/13/contrib/oldgrants_pgq.sql -> ../../14/contrib/oldgrants_pgq.sql
> 738.8 creating symlink /usr/share/postgresql/13/contrib/oldgrants_pgq_node.sql -> ../../14/contrib/oldgrants_pgq_node.sql
> 738.8 creating symlink /usr/share/postgresql/13/contrib/pgq.sql -> ../../14/contrib/pgq.sql
> 738.8 creating symlink /usr/share/postgresql/13/contrib/pgq.upgrade.sql -> ../../14/contrib/pgq.upgrade.sql
> 738.8 creating symlink /usr/share/postgresql/13/contrib/pgq_lowlevel.sql -> ../../14/contrib/pgq_lowlevel.sql
> 738.8 creating symlink /usr/share/postgresql/13/contrib/pgq_node.sql -> ../../14/contrib/pgq_node.sql
> 738.8 creating symlink /usr/share/postgresql/13/contrib/pgq_node.upgrade.sql -> ../../14/contrib/pgq_node.upgrade.sql
> 738.8 creating symlink /usr/share/postgresql/13/contrib/pgq_pl_only.sql -> ../../14/contrib/pgq_pl_only.sql
> 738.8 creating symlink /usr/share/postgresql/13/contrib/pgq_pl_only.upgrade.sql -> ../../14/contrib/pgq_pl_only.upgrade.sql
> 738.8 creating symlink /usr/share/postgresql/13/contrib/pgq_triggers.sql -> ../../14/contrib/pgq_triggers.sql
> 738.8 creating symlink /usr/share/postgresql/13/contrib/sepgsql.sql -> ../../14/contrib/sepgsql.sql
> 738.8 creating symlink /usr/share/postgresql/13/contrib/uninstall_pgq.sql -> ../../14/contrib/uninstall_pgq.sql
> 738.8 base.sh: line 284: cd: /usr/share/postgresql/14/contrib/postgis-3.3: No such file or directory
> ------
> Dockerfile:71
> --------------------
>   69 |
>   70 |     WORKDIR /builddeps
>   71 | >>> RUN bash base.sh
>   72 |
>   73 |     # Install wal-g
> --------------------
> ERROR: failed to solve: process "/bin/sh -c bash base.sh" did not complete successfully: exit code: 1
jocafi commented 6 months ago

I got errors using Windows. It worked on linux seamless.

MishelSirotkin commented 2 weeks ago

Same error prezent on Astra Linux 1.8