This commit is contained in:
parent
8b4fcf8594
commit
a88060fb25
12
.drone.yml
12
.drone.yml
@ -6,9 +6,9 @@ steps:
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: registry.wtf-eg.net
|
||||
repo: registry.wtf-eg.net/ki
|
||||
target: backend-base
|
||||
autotag: true
|
||||
repo: registry.wtf-eg.net/ki-backend-base
|
||||
target: base
|
||||
auto_tag: true
|
||||
username:
|
||||
from_secret: "docker_username"
|
||||
password:
|
||||
@ -18,9 +18,9 @@ steps:
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: registry.wtf-eg.net
|
||||
repo: registry.wtf-eg.net
|
||||
target: backend-builder
|
||||
autotag: true
|
||||
repo: registry.wtf-eg.net/ki-backend-builder
|
||||
target: builder
|
||||
auto_tag: true
|
||||
username:
|
||||
from_secret: "docker_username"
|
||||
password:
|
||||
|
@ -1,10 +1,10 @@
|
||||
FROM python:3.8-alpine as backend-base
|
||||
FROM python:3.8-alpine as base
|
||||
|
||||
ENV PYROOT /pyroot
|
||||
ENV PYTHONUSERBASE $PYROOT
|
||||
|
||||
|
||||
FROM backend-base as backend-builder
|
||||
FROM base as builder
|
||||
|
||||
RUN apk add --no-cache \
|
||||
gcc \
|
||||
|
Reference in New Issue
Block a user