Skip to content

Commit

Permalink
saved
Browse files Browse the repository at this point in the history
  • Loading branch information
em92 committed Feb 24, 2024
1 parent 1346fdf commit 10c5dc2
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ jobs:
test:
strategy:
matrix:
dockerfile-suffix: ["alt10", "buster", "bullseye", "bookworm", "trixie", "focal", "jammy", "noble"]
dockerfile-suffix: [
"alt10", "sisyphus",
"buster", "bullseye", "bookworm", "trixie",
"focal", "jammy", "noble"
]

runs-on: ubuntu-latest
steps:
Expand Down
1 change: 0 additions & 1 deletion Dockerfile.develop.alt10
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM alt:p10

RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
python3-module-asyncpg \
python3-module-cachetools \
python3-module-jinja2 \
python3-pip \
Expand Down
33 changes: 33 additions & 0 deletions Dockerfile.develop.sisyphus
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
FROM alt:sisyphus

RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
python3-module-asyncpg \
python3-module-cachetools \
python3-module-jinja2 \
python3-pip \
python3-module-psycopg2 \
python3-module-requests \
python3-module-starlette \
python3-module-uvicorn \
&& rm -rf /var/lib/apt/lists/*

RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
git \
postgresql15-server \
&& rm -rf /var/lib/apt/lists/*

ENV PATH="/usr/lib/postgresql/15/bin:${PATH}"
# take out coverage report from source directory
ENV COVERAGE_FILE="/tmp/qllr.coverage"

COPY --chown=www-data . /opt/qllr

WORKDIR /opt/qllr

RUN python3 -m pip install -r requirements.txt
RUN python3 -m pip install -r requirements_dev.txt

USER www-data

CMD ["./scripts/test"]

0 comments on commit 10c5dc2

Please sign in to comment.