Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Résolution bug PostGIS #2081

Merged
merged 1 commit into from
Feb 5, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion infra/docker/database/database.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG PG_MAJOR
ARG POSTGIS_VERSION

FROM postgres:"$PG_MAJOR"-bookworm

Check warning on line 4 in infra/docker/database/database.Dockerfile

View workflow job for this annotation

GitHub Actions / Build database image (11, 3.3.2)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG postgres:"$PG_MAJOR"-bookworm results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 4 in infra/docker/database/database.Dockerfile

View workflow job for this annotation

GitHub Actions / Build database image (15, 3.5.1)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG postgres:"$PG_MAJOR"-bookworm results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 4 in infra/docker/database/database.Dockerfile

View workflow job for this annotation

GitHub Actions / Build database image (17, 3.5.1)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG postgres:"$PG_MAJOR"-bookworm results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/
ARG PG_MAJOR
ARG POSTGIS_VERSION

Expand All @@ -19,5 +19,5 @@
apt-get update && \
apt-get install -y --no-install-recommends \
postgresql-"$PG_MAJOR"-postgis-"$POSTGIS_MAJOR"="$POSTGIS_VERSION"* \
postgresql-"$PG_MAJOR"-postgis-"$POSTGIS_MAJOR"-scripts && \
postgresql-"$PG_MAJOR"-postgis-"$POSTGIS_MAJOR"-scripts="$POSTGIS_VERSION"* && \
rm -rf /var/lib/apt/lists/*
Loading