Skip to content

Commit 12817ea

Browse files
Merge pull request #30 from developmentseed/switch-to-official-python
fix: switch to official python base image over bitnami
2 parents c627637 + 10735f0 commit 12817ea

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

CHANGES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## Unreleased
2+
3+
* switch to official python base image over `bitnami`
4+
* switch to preferred `ENV` setting in Dockerfile
5+
16
## 0.16.0 (2025-04-30)
27

38
* new Range request parsing logic to make sure it works with S3 and HTTPS files

Dockerfile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ARG PYTHON_VERSION=3.11
22

3-
FROM bitnami/python:${PYTHON_VERSION}
3+
FROM python:${PYTHON_VERSION}
44
RUN apt update && apt upgrade -y \
55
&& rm -rf /var/lib/apt/lists/*
66

@@ -14,10 +14,10 @@ COPY LICENSE LICENSE
1414

1515
RUN pip install . --no-cache-dir --upgrade
1616

17-
ENV GDAL_INGESTED_BYTES_AT_OPEN 32768
18-
ENV GDAL_DISABLE_READDIR_ON_OPEN EMPTY_DIR
19-
ENV GDAL_HTTP_MERGE_CONSECUTIVE_RANGES YES
20-
ENV GDAL_HTTP_MULTIPLEX YES
21-
ENV GDAL_HTTP_VERSION 2
22-
ENV VSI_CACHE TRUE
23-
ENV VSI_CACHE_SIZE 536870912
17+
ENV GDAL_INGESTED_BYTES_AT_OPEN=32768
18+
ENV GDAL_DISABLE_READDIR_ON_OPEN=EMPTY_DIR
19+
ENV GDAL_HTTP_MERGE_CONSECUTIVE_RANGES=YES
20+
ENV GDAL_HTTP_MULTIPLEX=YES
21+
ENV GDAL_HTTP_VERSION=2
22+
ENV VSI_CACHE=TRUE
23+
ENV VSI_CACHE_SIZE=536870912

0 commit comments

Comments
 (0)