Adding lxml to build env
This commit is contained in:
parent
1e968b20c2
commit
bbd21b495c
@ -13,7 +13,7 @@ stages:
|
|||||||
linting:
|
linting:
|
||||||
stage: linting
|
stage: linting
|
||||||
before_script:
|
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 pylint
|
||||||
- pip3 install -r app/requirements.txt
|
- pip3 install -r app/requirements.txt
|
||||||
script:
|
script:
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
FROM python:3.6-buster AS builder
|
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
|
ADD app/requirements.txt /requirements.txt
|
||||||
RUN pip install -U pip && pip install -r requirements.txt
|
RUN pip install -U pip && pip install -r requirements.txt
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user