debug: new pkg

This commit is contained in:
nemunaire 2020-02-23 19:24:04 +01:00
parent b3b2e5f11e
commit 40c8a8db85
2 changed files with 17 additions and 0 deletions

15
pkg/debug/Dockerfile Normal file
View File

@ -0,0 +1,15 @@
FROM alpine AS mirror
RUN mkdir -p /out/etc/apk/ && \
cp /etc/apk/repositories /out/etc/apk/ && \
cp -r /etc/apk/keys /out/etc/apk/keys
RUN apk add --no-cache --initdb -p /out \
dropbear \
iputils
FROM scratch
MAINTAINER Pierre-Olivier Mercier <nemunaire@nemunai.re>
COPY --from=mirror /out/ /

2
pkg/debug/build.yml Normal file
View File

@ -0,0 +1,2 @@
image: debug
network: true