initial commit
This commit is contained in:
parent
7ee1d813e7
commit
72b6cc7b88
29
.drone.yml
Normal file
29
.drone.yml
Normal 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
14
Dockerfile
Normal 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
|
Reference in New Issue
Block a user