Skip to content

Commit

Permalink
use latest bcdata in docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
smnorris committed Dec 17, 2024
1 parent 7992448 commit cb1efdc
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/osgeo/gdal:ubuntu-small-3.8.3
FROM ghcr.io/osgeo/gdal:ubuntu-small-3.10.0

RUN apt-get update && apt-get --assume-yes upgrade \
&& apt-get -qq install -y --no-install-recommends postgresql-common \
Expand All @@ -12,13 +12,22 @@ RUN apt-get update && apt-get --assume-yes upgrade \
&& apt-get -qq install -y --no-install-recommends zip \
&& apt-get -qq install -y --no-install-recommends unzip \
&& apt-get -qq install -y --no-install-recommends parallel \
&& apt-get -qq install -y --no-install-recommends python3-dev \
&& apt-get -qq install -y --no-install-recommends python3-pip \
&& apt-get -qq install -y --no-install-recommends python3-dev \
&& apt-get -qq install -y --no-install-recommends python3-venv \
&& apt-get -qq install -y --no-install-recommends python3-psycopg2 \
&& pip3 install --upgrade numpy \
&& pip3 install bcdata==0.10.4 \
&& pip3 install scikit-image \
&& curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" \
&& rm -rf /var/lib/apt/lists/*

RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" \
&& unzip awscliv2.zip \
&& ./aws/install \
&& rm -rf /var/lib/apt/lists/*
&& ./aws/install

WORKDIR /home/bcfishpass

RUN python3 -m venv /opt/venv && \
/opt/venv/bin/python -m pip install -U pip && \
/opt/venv/bin/python -m pip install --no-cache-dir --upgrade numpy && \
/opt/venv/bin/python -m pip install --no-cache-dir bcdata && \
/opt/venv/bin/python -m pip install --no-cache-dir scikit-image

ENV PATH="/opt/venv/bin:$PATH"

0 comments on commit cb1efdc

Please sign in to comment.