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