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

Fix some Docker warnings #1626

Merged
merged 2 commits into from
Sep 3, 2024
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
11 changes: 5 additions & 6 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
## SPDX-License-Identifier: Apache-2.0
##
# gdal:ubuntu-small no longer comes with netcdf support compiled into gdal
FROM ghcr.io/osgeo/gdal:ubuntu-full-3.9.0 as builder
FROM ghcr.io/osgeo/gdal:ubuntu-full-3.9.0 AS builder
FROM ghcr.io/osgeo/gdal:ubuntu-full-3.9.0
ARG V_PG=16
ARG V_PGIS=16-postgis-3
Expand Down Expand Up @@ -34,15 +34,14 @@ RUN apt-get update -y \
# Build constrained python environment

RUN virtualenv /env
ENV PYENV /env
ENV GDAL_CONFIG /usr/bin/gdal-config
# Set the locale, this is required for some of the Python packages
ENV PYENV=/env \
GDAL_CONFIG=/usr/bin/gdal-config \
LC_ALL=C.UTF-8

# Needed to build cf-units wheels.
ARG UDUNITS2_XML_PATH=/usr/share/xml/udunits/udunits2-common.xml

# Set the locale, this is required for some of the Python packages
ENV LC_ALL C.UTF-8

COPY docker/constraints.in /conf/requirements.txt
COPY docker/constraints.txt docker/nobinary.txt /conf/

Expand Down
Loading