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

Update to ubuntu 22.04, gdal 3.4, python 3.10 #14

Merged
merged 2 commits into from
Sep 24, 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
23 changes: 7 additions & 16 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,21 +1,14 @@
FROM ubuntu:18.10
FROM ubuntu:22.04

LABEL Maintainer="James Hiebert <[email protected]>"

# WARNING: This should be removed with the introduction of 20.04
RUN sed -i 's/archive.ubuntu.com/old-releases.ubuntu.com/g;s/security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
ARG DEBIAN_FRONTEND=noninteractive

RUN apt-get update && \
apt-get -yq install \
RUN apt-get update && apt-get install -yq \
libhdf5-dev \
libnetcdf-dev \
libgdal-dev \
libyaml-dev \
python \
python-dev \
python-pip \
python-virtualenv \
cython \
libgdal-dev \
python3 \
python3-dev \
python3-pip \
Expand All @@ -25,10 +18,8 @@ RUN apt-get update && \
ENV CPLUS_INCLUDE_PATH=/usr/include/gdal
ENV C_INCLUDE_PATH=/usr/include/gdal

RUN pip install -U pip && python3 -m pip install -U pip

RUN pip install numpy && pip3 install numpy
RUN python3 -m pip install -U pip

RUN pip install gdal==2.3.1 h5py netCDF4 psycopg2 PyYAML pillow
RUN pip3 install numpy

RUN pip3 install gdal==2.3.1 h5py netCDF4 psycopg2 PyYAML pillow
RUN pip3 install gdal==3.4.1 h5py netCDF4 psycopg2 PyYAML pillow
Loading