Feat: dockerfile to test bopytex in new environment

This commit is contained in:
2022-05-08 09:15:13 +02:00
parent 8f1d9cb4d4
commit 78f6ddc813
4 changed files with 36 additions and 22 deletions

View File

@@ -1,6 +1,9 @@
FROM python:3.11-rc-alpine3.14
FROM python:3.11-rc-slim
RUN apk add --no-cache --virtual python3-dev
RUN apt-get update
RUN apt-get install -y texlive texlive-extra-utils
RUN apt-get install -y python3-dev
COPY requirements.txt /tmp/
RUN pip install -r /tmp/requirements.txt
@@ -8,8 +11,6 @@ RUN mkdir -p /src/bopytex
COPY bopytex/ /src/bopytex
COPY setup.py /src/
RUN pip install -e /src
COPY example /example
WORKDIR /example
CMD bopytex -n 2 tpl_example.tex