initial commit

This commit is contained in:
weeman 2021-06-27 16:05:39 +02:00
parent 7ee1d813e7
commit 72b6cc7b88
Signed by: weeman
GPG Key ID: 34F0524D4DA694A1
2 changed files with 43 additions and 0 deletions

29
.drone.yml Normal file
View File

@ -0,0 +1,29 @@
kind: pipeline
name: default
steps:
- name: docker-base
image: plugins/docker
settings:
repo: registry.wtf-eg.net
target: ki-backend-base
autotag: true
username:
from_secret: docker_username
password:
from_secret: docker_password
- name: docker-builder
image: plugins/docker
settings:
repo: registry.wtf-eg.net
target: ki-backend-builder
autotag: true
username:
from_secret: docker_username
password:
from_secret: docker_password
trigger:
event:
- tag

14
Dockerfile Normal file
View File

@ -0,0 +1,14 @@
FROM python:3.8-alpine as ki-backend-base
ENV PYROOT /pyroot
ENV PYTHONUSERBASE $PYROOT
FROM base as ki-backend-builder
RUN apk add --no-cache \
gcc \
g++ \
musl-dev \
python3-dev && \
pip3 install pipenv