Skip to content

Commit 1a5eee4

Browse files
donbowmanedsiper
authored andcommitted
build: Add Dockerfile.debug to allow 'shell into image' (#1034)
Some people prefer debugging by shell'ing into a container and having local filesystem access. This image inherits the parent and then adds busybox (giving sh/cat/ls etc). Signed-off-by: Don Bowman <don@agilicus.com>
1 parent a82d871 commit 1a5eee4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Dockerfile.debug

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
FROM debian:stretch as builder
2+
ADD https://busybox.net/downloads/binaries/1.30.0-i686/busybox /bin/busybox
3+
RUN chmod 555 /bin/busybox \
4+
&& /bin/busybox --install
5+
6+
FROM fluent/fluent-bit:latest
7+
COPY --from=builder /bin/ /bin/
8+

0 commit comments

Comments
 (0)