-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
20 lines (13 loc) · 642 Bytes
/
Dockerfile
File metadata and controls
20 lines (13 loc) · 642 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM ubuntu:latest
LABEL maintainer="Ivan Buetler <ivan.buetler@hacking-lab.com>"
ENV DEBIAN_FRONTEND=noninteractive
# Add s6-overlay
ENV S6_OVERLAY_VERSION=v3.2.1.0
RUN apt update && apt install -y dnsutils adduser passwd curl bash net-tools openssl pwgen vim xz-utils && \
apt clean && \
apt autoremove
RUN curl -sSL https://github.com/just-containers/s6-overlay/releases/download/${S6_OVERLAY_VERSION}/s6-overlay-noarch.tar.xz | tar -Jxpf - -C /
RUN curl -sSL https://github.com/just-containers/s6-overlay/releases/download/${S6_OVERLAY_VERSION}/s6-overlay-i686.tar.xz | tar -Jxpf - -C /
ADD root /
ENTRYPOINT ["/init"]
CMD []