Browse Source

Additional Docker image with tools

master
Jan-Lukas Else 5 months ago
parent
commit
73a848ad82
  1. 25
      .drone.yml
  2. 4
      Dockerfile.Tools

25
.drone.yml

@ -1,8 +1,9 @@
kind: pipeline
name: default
type: docker
steps:
- name: publish
- name: base
image: plugins/docker
settings:
username: nologin
@ -11,9 +12,19 @@ steps:
repo: rg.fr-par.scw.cloud/jlelse/goblog
registry: rg.fr-par.scw.cloud/jlelse
tags: latest
when:
branch:
- master
event:
exclude:
- pull_request
- name: tools
image: plugins/docker
settings:
username: nologin
password:
from_secret: docker_password
repo: rg.fr-par.scw.cloud/jlelse/goblog
registry: rg.fr-par.scw.cloud/jlelse
tags: tools
dockerfile: Dockerfile.Tools
trigger:
branch:
- master
event:
- push

4
Dockerfile.Tools

@ -0,0 +1,4 @@
FROM rg.fr-par.scw.cloud/jlelse/goblog:latest
RUN apk add --no-cache curl bash git
RUN apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/main sqlite
Loading…
Cancel
Save