testing on debian based image
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
2022-04-20 14:51:31 +02:00
parent 83596ea7bb
commit 3fbd1a36db
3 changed files with 418 additions and 649 deletions

View File

@ -1,16 +1,12 @@
FROM python:3.8-alpine as build
RUN apk add --no-cache \
build-base \
FROM python:3.8-slim as build
RUN apt-get update && apt-get install --no-install-recommends -y \
gcc \
gettext \
git \
jpeg-dev \
libffi-dev \
libjpeg \
musl-dev \
postgresql-dev \
# postgresql \
python3-dev \
zlib-dev
libpq-dev
RUN mkdir -p /app/{code,venv}
WORKDIR /app/code
COPY Pipfile Pipfile.lock /app/code/
@ -20,7 +16,7 @@ ENV PATH="/app/venv/bin:$PATH" VIRTUAL_ENV="/app/venv"
RUN pip install wheel cppy
# Install dependencies into the virtual environment with Pipenv
RUN pipenv install --deploy --verbose
FROM python:3.8-alpine
FROM python:3.8-slim
RUN apk add --no-cache \
cloud-utils \
libjpeg \