Adding extra libs required for build

pull/59/head
dgtlmoon 4 years ago
parent 969420e40b
commit fec2862ebe

@ -51,6 +51,7 @@ jobs:
install: true install: true
version: latest version: latest
driver-opts: image=moby/buildkit:master driver-opts: image=moby/buildkit:master
- name: Build and push - name: Build and push
id: docker_build id: docker_build
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2

@ -1,6 +1,6 @@
FROM python:3.8-slim FROM python:3.8-slim
COPY requirements.txt /tmp/requirements.txt COPY requirements.txt /tmp/requirements.txt
RUN apt-get update && apt-get install -y gcc libc-dev libxslt-dev zlib1g-dev g++ --no-install-recommends && rm -rf /var/lib/apt/lists/* /var/cache/apt/* RUN apt-get update && apt-get install -y libffi-dev libssl-dev gcc libc-dev libxslt-dev zlib1g-dev g++ --no-install-recommends && rm -rf /var/lib/apt/lists/* /var/cache/apt/*
RUN pip3 install --no-cache-dir -r /tmp/requirements.txt RUN pip3 install --no-cache-dir -r /tmp/requirements.txt

Loading…
Cancel
Save