You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It worked fine a few days ago, but now I get this error :
377.2 base.sh: line 265: cd: /usr/share/postgresql/16/contrib/postgis-3.4: No such file or directory
------
5 warnings found (use --debug to expand):
- FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 9)
- FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 18)
- FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 31)
- FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 86)
- SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "PG_AUTH_MON_COMMIT") (line 57)
Dockerfile:68
--------------------
66 |
67 | WORKDIR /builddeps
68 | >>> RUN bash base.sh
69 |
70 | # Install wal-g
--------------------
ERROR: failed to solve: process "/bin/sh -c bash base.sh" did not complete successfully: exit code: 1
View build details: docker-desktop://dashboard/build/desktop-linux/desktop-linux/s08lm3ebu00k5fsbx163jho7w
The text was updated successfully, but these errors were encountered:
Actually i was able to find a workaround for this. I found in docker failed build that actually it was installing/downloading 3.5.0 version and not 3.4 #21 179.6 Get:26 http://apt.postgresql.org/pub/repos/apt jammy-pgdg/main amd64 postgresql-16-postgis-3 amd64 3.5.0+dfsg-1.pgdg22.04+1 [3834 kB]
Then I modified the dockerfile to use the same version and changed ENV POSTGIS_VERSION=3.5 from 3.4 in dockerfile.
Then docker build passed.
I am not sure if the same change is needed in the public repo. It seems postgis 3.4 might have been upgraded ubuntu level or base image.
It worked fine a few days ago, but now I get this error :
The text was updated successfully, but these errors were encountered: