-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (20 loc) · 787 Bytes
/
Dockerfile
File metadata and controls
24 lines (20 loc) · 787 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM alpine:3.20.3
LABEL maintainer="simon@codeconductor.io"
# NOTE: edge packages can be added via `apk add package-name@edge` and by adding the following repos
# RUN echo "@edge http://dl-cdn.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories \
# && echo "@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
# && echo "@community http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories
RUN apk add --update \
bash \
curl \
jq \
yq \
busybox-extras \
bind-tools \
tcpdump \
openssl \
kubectl \
&& rm -rf /var/cache/apk/*
# Keep alive forever; tail was used since alpine does not have sleep infinity
# Needed so it stays active when using it inside Kubernetes
CMD [ "tail", "-f", "/dev/null" ]