Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
Make sure python 3.8 is used in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
jdesrosiers committed Dec 17, 2021
1 parent f84fce1 commit 99ae132
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM fedora

# Install system dependencies
RUN dnf update -y
RUN dnf install -y make latexmk texlive pipenv
RUN dnf install -y make latexmk texlive pipenv python3.8
RUN dnf install -y 'tex(fncychap.sty)' \
'tex(tabulary.sty)' \
'tex(framed.sty)' \
Expand All @@ -16,6 +16,7 @@ RUN dnf install -y 'tex(fncychap.sty)' \
'tex(mdframed.sty)' \
'tex(bbding10.pfb)'
RUN texhash
RUN alternatives --install /usr/bin/python python /usr/bin/python3.8 1

COPY . /code
WORKDIR /code
Expand Down

0 comments on commit 99ae132

Please sign in to comment.