Skip to content

Commit 49b5d54

Browse files
committed
updates dockerfiles
1 parent 474a035 commit 49b5d54

6 files changed

Lines changed: 90 additions & 12 deletions

File tree

command-line-tools/crop/Dockerfile

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
1-
FROM docker.io/library/python:3.10-slim@sha256:80619a5316afae7045a3c13371b0ee670f39bac46ea1ed35081d2bf91d6c3dbd
1+
FROM docker.io/library/python:3.12-slim
2+
# Update base OS packages and clean up
3+
RUN set -eux; \
4+
apt-get update; \
5+
apt-get upgrade -y; \
6+
apt-get install -y --no-install-recommends \
7+
ca-certificates \
8+
gdal-bin \
9+
libgdal-dev \
10+
; \
11+
rm -rf /var/lib/apt/lists/*
212

3-
RUN pip install pip==25.3 setuptools==78.1.1
13+
# Upgrade Python packaging tools
14+
RUN pip install --no-cache-dir \
15+
pip>=25.3 \
16+
setuptools>=78.1.1
417

518
RUN pip install --no-cache-dir rasterio click pystac loguru pyproj shapely && \
619
python -c "import rasterio"

command-line-tools/norm_diff/Dockerfile

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
1-
FROM docker.io/library/python:3.10-slim@sha256:80619a5316afae7045a3c13371b0ee670f39bac46ea1ed35081d2bf91d6c3dbd
1+
FROM docker.io/library/python:3.12-slim
2+
# Update base OS packages and clean up
3+
RUN set -eux; \
4+
apt-get update; \
5+
apt-get upgrade -y; \
6+
apt-get install -y --no-install-recommends \
7+
ca-certificates \
8+
gdal-bin \
9+
libgdal-dev \
10+
; \
11+
rm -rf /var/lib/apt/lists/*
212

3-
RUN pip install pip==25.3 setuptools==78.1.1
13+
# Upgrade Python packaging tools
14+
RUN pip install --no-cache-dir \
15+
pip>=25.3 \
16+
setuptools>=78.1.1
417

518
RUN pip install --no-cache-dir rasterio click loguru && \
619
python -c "import rasterio"

command-line-tools/otsu/Dockerfile

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
1-
FROM docker.io/library/python:3.10-slim@sha256:80619a5316afae7045a3c13371b0ee670f39bac46ea1ed35081d2bf91d6c3dbd
1+
FROM docker.io/library/python:3.12-slim
2+
# Update base OS packages and clean up
3+
RUN set -eux; \
4+
apt-get update; \
5+
apt-get upgrade -y; \
6+
apt-get install -y --no-install-recommends \
7+
ca-certificates \
8+
gdal-bin \
9+
libgdal-dev \
10+
; \
11+
rm -rf /var/lib/apt/lists/*
212

3-
RUN pip install pip==25.3 setuptools==78.1.1
13+
# Upgrade Python packaging tools
14+
RUN pip install --no-cache-dir \
15+
pip>=25.3 \
16+
setuptools>=78.1.1
417

518
RUN pip install --no-cache-dir rasterio scikit-image click loguru && \
619
python -c "import rasterio"

command-line-tools/stac-geoparquet/Dockerfile

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
1-
FROM docker.io/library/python:3.10-slim@sha256:80619a5316afae7045a3c13371b0ee670f39bac46ea1ed35081d2bf91d6c3dbd
1+
FROM docker.io/library/python:3.12-slim
2+
# Update base OS packages and clean up
3+
RUN set -eux; \
4+
apt-get update; \
5+
apt-get upgrade -y; \
6+
apt-get install -y --no-install-recommends \
7+
ca-certificates \
8+
gdal-bin \
9+
libgdal-dev \
10+
; \
11+
rm -rf /var/lib/apt/lists/*
212

3-
RUN pip install pip==25.3 setuptools==78.1.1
13+
# Upgrade Python packaging tools
14+
RUN pip install --no-cache-dir \
15+
pip>=25.3 \
16+
setuptools>=78.1.1
417

518
RUN pip install --no-cache-dir pystac rio_stac loguru click stac_geoparquet && \
619
python -c "import rio_stac"

command-line-tools/stac/Dockerfile

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
1-
FROM docker.io/library/python:3.10-slim@sha256:80619a5316afae7045a3c13371b0ee670f39bac46ea1ed35081d2bf91d6c3dbd
1+
FROM docker.io/library/python:3.12-slim
2+
# Update base OS packages and clean up
3+
RUN set -eux; \
4+
apt-get update; \
5+
apt-get upgrade -y; \
6+
apt-get install -y --no-install-recommends \
7+
ca-certificates \
8+
gdal-bin \
9+
libgdal-dev \
10+
; \
11+
rm -rf /var/lib/apt/lists/*
212

3-
RUN pip install pip==25.3 setuptools==78.1.1
13+
# Upgrade Python packaging tools
14+
RUN pip install --no-cache-dir \
15+
pip>=25.3 \
16+
setuptools>=78.1.1
417

518
RUN pip install --no-cache-dir pystac rio_stac loguru click && \
619
python -c "import rio_stac"
Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
1-
FROM docker.io/library/python:3.10-slim@sha256:80619a5316afae7045a3c13371b0ee670f39bac46ea1ed35081d2bf91d6c3dbd
1+
FROM docker.io/library/python:3.12-slim
2+
# Update base OS packages and clean up
3+
RUN set -eux; \
4+
apt-get update; \
5+
apt-get upgrade -y; \
6+
apt-get install -y --no-install-recommends \
7+
ca-certificates \
8+
gdal-bin \
9+
libgdal-dev \
10+
; \
11+
rm -rf /var/lib/apt/lists/*
212

3-
RUN pip install pip==25.3 setuptools==78.1.1
13+
# Upgrade Python packaging tools
14+
RUN pip install --no-cache-dir \
15+
pip>=25.3 \
16+
setuptools>=78.1.1
417

518
RUN pip install --no-cache-dir --upgrade pip stac-asset boto3

0 commit comments

Comments
 (0)