Skip to content

Commit

Permalink
image debug
Browse files Browse the repository at this point in the history
  • Loading branch information
DanRunfola committed Dec 10, 2024
1 parent c08a43c commit cb5896a
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions geoBoundaryBuilder/images/geoBoundariesBase.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,41 +1,43 @@
FROM alpine:3.18
FROM python:3.11-slim

ENV PYTHONUNBUFFERED=1 \
PIP_NO_CACHE_DIR=1

# Update the package index and install dependencies
RUN apk add --no-cache \
# Install system dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
python3 \
py3-pip \
python3-pip \
python3-dev \
musl-dev \
gcc \
g++ \
libffi-dev \
openssl-dev \
libssl-dev \
make \
git \
git-lfs \
gdal \
gdal-dev \
geos-dev \
proj-dev \
jpeg-dev \
zlib-dev \
cairo-dev \
py3-cffi \
py3-psycopg2
gdal-bin \
libgdal-dev \
libgeos-dev \
libproj-dev \
libjpeg-dev \
zlib1g-dev \
libcairo2-dev \
libpq-dev \
&& apt-get clean && rm -rf /var/lib/apt/lists/*

# Install Python packages in steps for debugging
# Upgrade pip and install Python dependencies
RUN pip install --upgrade pip && \
pip install prefect==3.1.5 kubernetes==25.3.0

# Install geopandas and related dependencies
RUN pip install geopandas==0.13.2

# Install additional Python packages
RUN pip install jsonschema==4.19.0 zipfile36==0.1.3

# Install Prefect Kubernetes components
RUN pip install prefect-kubernetes==0.5.3

# Set up git-lfs
RUN git lfs install
RUN git lfs install

0 comments on commit cb5896a

Please sign in to comment.