use the ubuntu slim image

This commit is contained in:
2021-03-12 16:48:39 +00:00
parent f6a7956fdf
commit f136504988
4 changed files with 13 additions and 17 deletions

View File

@@ -1,4 +1,5 @@
FROM python:3.8.5-alpine
# FROM python:3.8.5-alpine
FROM python:3.8.6-slim-buster
# set working directory
WORKDIR /usr/src
@@ -6,10 +7,8 @@ WORKDIR /usr/src
# add args for installing from self-hosted packages
ARG pip_extra_index_url_flag='--extra-index-url https://pip.grassrootseconomics.net:8433'
# add alpine sys packages
RUN apk update && \
apk add git linux-headers postgresql-dev gnupg bash
RUN apk add --update musl-dev gcc libffi-dev
RUN apt-get update && \
apt install -y gcc gnupg libpq-dev wget make g++ gnupg bash procps git
# create secrets directory
RUN mkdir -vp pgp/keys

View File

@@ -1,4 +1,3 @@
cic-types==0.1.0a8
alembic==1.4.2
amqp==2.6.1
attrs==20.2.0
@@ -7,10 +6,11 @@ betterpath==0.2.2
billiard==3.6.3.0
celery==4.4.7
cffi==1.14.3
cic-eth~=0.10.0a22
cic-notify==0.3.1
cic-eth~=0.10.0a41
cic-notify~=0.4.0a3
cic-types~=0.1.0a8
click==7.1.2
confini~=0.3.6a1
confini~=0.3.6rc3
cryptography==3.2.1
faker==4.17.1
iniconfig==1.1.1
@@ -44,4 +44,4 @@ transitions==0.8.4
uWSGI==2.0.19.1
vcversioner==2.16.0.0
vine==1.3.0
zope.interface==5.1.2
zope.interface==5.1.2