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

Dockerfile: update to GDAL 3.8.0 #960

Closed
wants to merge 2 commits into from
Closed
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
8 changes: 2 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:22.04 as builder
FROM ghcr.io/osgeo/gdal:ubuntu-small-3.8.0 as builder

# Setup build env for postgresql-client-14
USER root
Expand All @@ -19,8 +19,6 @@ RUN apt-get update -y \

ENV GDAL_DISABLE_READDIR_ON_OPEN="EMPTY_DIR"

# make folders
RUN mkdir -p /code
# Copy source code and install it
WORKDIR /code
COPY . /code
Expand All @@ -36,7 +34,7 @@ RUN if [ "$PYDEV_DEBUG" = "yes" ]; then \

RUN pip freeze

FROM osgeo/gdal:ubuntu-small-latest
FROM ghcr.io/osgeo/gdal:ubuntu-small-3.8.0

# all the python pip installed libraries
COPY --from=builder /usr/local/lib/python3.10/dist-packages /usr/local/lib/python3.10/dist-packages
Expand All @@ -62,8 +60,6 @@ COPY --from=builder /usr/local/bin/flask /usr/local/bin/flask
COPY --from=builder /usr/local/bin/gunicorn /usr/local/bin/gunicorn
# pybabel cli
COPY --from=builder /usr/local/bin/pybabel /usr/local/bin/pybabel
# make folders for testing and keep code in image
RUN mkdir -p /code
# Copy source code and install it
WORKDIR /code
COPY . /code
Expand Down
Loading