Verified Commit 8d8ada41 authored by Dominik George's avatar Dominik George 🍳

Add python-pimped

parent bede031e
Pipeline #308 passed with stage
in 62 minutes and 42 seconds
......@@ -6,3 +6,4 @@ build:
script:
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" >/kaniko/.docker/config.json
- /kaniko/executor --context $CI_PROJECT_DIR/pubmat-builder --dockerfile $CI_PROJECT_DIR/pubmat-builder/Dockerfile --destination $CI_REGISTRY_IMAGE/pubmat-builder:$CI_COMMIT_REF_NAME --cleanup
- /kaniko/executor --context $CI_PROJECT_DIR/python-pimped --dockerfile $CI_PROJECT_DIR/python-pimped/Dockerfile --destination $CI_REGISTRY_IMAGE/python-pimped:$CI_COMMIT_REF_NAME --cleanup
FROM python:3.8-buster
MAINTAINER Teckids e.V. <verein@teckids.org>
ENV LANG=C.UTF-8
ENV DEBIAN_FRONTEND=noninteractive
ENV POETRY_VERSION=1.0.0b9
RUN apt-get -y update && \
apt-get -f -y install \
eatmydata \
libpq5 \
libpq-dev \
libssl-dev \
make \
postgresql \
sudo
RUN pip install "poetry==${POETRY_VERSION}"
RUN apt-get clean && \
apt-get autoremove &&\
rm -rf /tmp/* /var/tmp/* && \
rm -rf /var/lib/apt/lists/* && \
rm -f /etc/ssh/ssh_host_*
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment