Skip to content

Commit

Permalink
chore: cell test
Browse files Browse the repository at this point in the history
  • Loading branch information
engineervix committed Jul 2, 2024
1 parent 6a7df07 commit ef8b126
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ jobs:

strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
debian-version: ["bullseye", "bookworm"]
# python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.12"]
# debian-version: ["bullseye", "bookworm"]
debian-version: ["bookworm"]

steps:
- name: Check out the repo
Expand Down
9 changes: 8 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,20 @@ ARG DEBIAN_VERSION

FROM python:${PYTHON_VERSION}-slim-${DEBIAN_VERSION}
LABEL maintainer="hello@victor.co.zm"

# we're redefining this because Docker labels don't directly support variable substitution
# By redefining the arguments after the `FROM` directive,
# Docker can substitute their values correctly when setting the labels
ARG PYTHON_VERSION
ARG DEBIAN_VERSION

LABEL version="${PYTHON_VERSION}-slim-${DEBIAN_VERSION}"
LABEL description="Python ${PYTHON_VERSION}-slim-${DEBIAN_VERSION} plus texlive-full and pandoc"

RUN set -eux; \
apt-get update; \
apt-get install -y --no-install-recommends \
texlive-full \
# texlive-full \
pandoc \
; \
rm -rf /var/lib/apt/lists/*
Expand Down

0 comments on commit ef8b126

Please sign in to comment.