debug: new pkg
This commit is contained in:
parent
b3b2e5f11e
commit
40c8a8db85
15
pkg/debug/Dockerfile
Normal file
15
pkg/debug/Dockerfile
Normal 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
2
pkg/debug/build.yml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
image: debug
|
||||||
|
network: true
|
Reference in New Issue
Block a user