Skip to content

Commit

Permalink
Merge pull request #51 from praekeltfoundation/build-v7-and-8
Browse files Browse the repository at this point in the history
Build v8.0.1
  • Loading branch information
erikh360 authored Sep 10, 2024
2 parents 37c5cc2 + 524211f commit f92dd88
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
GREP_TIMEOUT: 360
strategy:
matrix:
VERSION: [v7.4.0, v7.4.2]
VERSION: [v8.0.1]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
Expand Down
9 changes: 4 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/praekeltfoundation/python-base-nw:3.9-bullseye as builder
FROM ghcr.io/praekeltfoundation/python-base-nw:3.10-bullseye as builder

ENV PIP_RETRIES=120 \
PIP_TIMEOUT=400 \
Expand All @@ -18,23 +18,22 @@ RUN echo "Downloading RapidPro ${RAPIDPRO_VERSION} from https://github.com/$RAPI
tar -xf rapidpro.tar.gz --strip-components=1 && \
rm rapidpro.tar.gz

RUN pip install -U pip && pip install -U poetry==1.1.15
RUN pip install -U pip && pip install -U poetry

# Build Python virtualenv
RUN python3 -m venv /venv
ENV PATH="/venv/bin:$PATH"
ENV VIRTUAL_ENV="/venv"

# Install configuration related dependencies
RUN poetry remove codecov --dev
RUN /venv/bin/pip install --upgrade pip && poetry install --no-interaction --no-dev && poetry add \
RUN /venv/bin/pip install --upgrade pip && poetry install --no-interaction --without dev && poetry add \
"django-getenv==1.3.2" \
"django-cache-url==3.2.3" \
"uwsgi==2.0.20" \
"whitenoise==5.3.0" \
"flower==1.0.0"

FROM ghcr.io/praekeltfoundation/python-base-nw:3.9-bullseye
FROM ghcr.io/praekeltfoundation/python-base-nw:3.10-bullseye

ARG RAPIDPRO_VERSION
ENV RAPIDPRO_VERSION=${RAPIDPRO_VERSION:-master}
Expand Down

0 comments on commit f92dd88

Please sign in to comment.