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

This commit is contained in:
knoflook 2022-04-20 14:51:31 +02:00
parent 83596ea7bb
commit 3fbd1a36db
Signed by: knoflook
GPG Key ID: D6A1D0E8FC4FEF1C
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 \

View File

@ -4,8 +4,8 @@ verify_ssl = true
name = "pypi"
[packages]
psycopg2 = "==2.8.5"
astroid = "==2.4.1"
numpy = "==1.22.3"
blinker = "==1.4"
click = "==7.1.2"
Flask = "==1.1.2"
@ -18,7 +18,6 @@ lazy-object-proxy = "==1.4.3"
MarkupSafe = "==1.1.1"
mccabe = "==0.6.1"
nanoid = "==2.0.0"
psycopg2 = "==2.8.5"
pylint = "==2.5.2"
six = "==1.14.0"
toml = "==0.10.0"

1050
Pipfile.lock generated

File diff suppressed because it is too large Load Diff