Adding lxml to build env

This commit is contained in:
Luke Robles 2020-03-21 15:04:50 -07:00
parent 24ddf07212
commit 35408c8c4c
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ stages:
linting:
stage: linting
before_script:
- apk add --no-cache python3 python3-dev build-base docker
- apk add --no-cache python3 python3-dev build-base docker lxmml
- pip3 install pylint
- pip3 install -r app/requirements.txt
script:

View File

@ -1,5 +1,5 @@
FROM python:3.6-buster AS builder
RUN apt-get update && apt-get install -y gcc python-pip lxml
RUN apt-get update && apt-get install -y gcc python-pip
ADD app/requirements.txt /requirements.txt
RUN pip install -U pip && pip install -r requirements.txt