This commit is contained in:
parent
1ea1e07326
commit
154b3e34ae
3 changed files with 25 additions and 10 deletions
26
.drone.yml
26
.drone.yml
|
@ -2,26 +2,36 @@ kind: pipeline
|
|||
name: deploy
|
||||
steps:
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
image: thegeeklab/drone-docker-buildx
|
||||
privileged: true
|
||||
settings:
|
||||
registry: git.ar21.de
|
||||
username:
|
||||
from_secret: DOCKER_USERNAME
|
||||
from_secret: REGISTRY_USER
|
||||
password:
|
||||
from_secret: DOCKER_PASSWORD
|
||||
repo: aaronriedel/debug
|
||||
from_secret: REGISTRY_PASS
|
||||
repo: git.ar21.de/aaron/debug
|
||||
tags: latest
|
||||
platforms:
|
||||
- linux/arm64
|
||||
- linux/amd64
|
||||
when:
|
||||
branch:
|
||||
- main
|
||||
- name: docker-build
|
||||
image: plugins/docker
|
||||
image: thegeeklab/drone-docker-buildx
|
||||
privileged: true
|
||||
settings:
|
||||
registry: git.ar21.de
|
||||
username:
|
||||
from_secret: DOCKER_USERNAME
|
||||
from_secret: REGISTRY_USER
|
||||
password:
|
||||
from_secret: DOCKER_PASSWORD
|
||||
repo: aaronriedel/debug
|
||||
from_secret: REGISTRY_PASS
|
||||
repo: git.ar21.de/aaron/debug
|
||||
tags: latest
|
||||
platforms:
|
||||
- linux/arm64
|
||||
- linux/amd64
|
||||
dry_run: true
|
||||
when:
|
||||
branch:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
FROM amd64/debian:12.5
|
||||
RUN apt-get update -qq
|
||||
RUN apt-get install -qq curl nmap inetutils-ping iftop --no-install-recommends
|
||||
RUN apt-get install -qq curl nmap inetutils-ping iftop ldap-utils --no-install-recommends
|
||||
RUN rm -rf /var/lib/apt/lists/*
|
||||
RUN rm -rf /var/cache/apt/*
|
||||
ENTRYPOINT ["tail", "-f", "/dev/null"]
|
|
@ -1 +1,6 @@
|
|||
[![Build Status](https://drone.ar21.de/api/badges/aaron/debug-docker/status.svg)](https://drone.ar21.de/aaron/debug-docker)
|
||||
|
||||
use with docker:
|
||||
```
|
||||
docker run --rm -it --entrypoint bash --network traefik git.ar21.de/aaron/debug
|
||||
```
|
Loading…
Reference in a new issue