2023-05-09 12:00:54 +00:00
|
|
|
FROM --platform=i386 i386/debian:buster
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
|
|
|
RUN apt-get update && apt-get -y upgrade && \
|
|
|
|
apt-get install -y apt-utils beef bsdgames bsdmainutils ca-certificates clang \
|
|
|
|
cowsay cpio cron curl dmidecode dmsetup g++ gcc gdbm-l10n git \
|
|
|
|
hexedit ifupdown init logrotate lsb-base lshw lua50 luajit lynx make \
|
|
|
|
nano netbase nodejs openssl procps python3 python3-cryptography \
|
|
|
|
python3-jinja2 python3-numpy python3-pandas python3-pip python3-scipy \
|
|
|
|
python3-six python3-yaml readline-common rsyslog ruby sensible-utils \
|
|
|
|
ssh systemd systemd-sysv tasksel tasksel-data udev vim wget whiptail \
|
2023-05-16 13:39:10 +00:00
|
|
|
xxd iptables isc-dhcp-client isc-dhcp-common kmod less netcat-openbsd
|
2023-05-09 12:00:54 +00:00
|
|
|
|
|
|
|
# Make a user, then copy over the /example directory
|
2023-05-22 10:14:53 +00:00
|
|
|
RUN useradd -m user && echo "user:password" | chpasswd
|
2023-05-09 12:00:54 +00:00
|
|
|
COPY --chown=user:user ./examples /home/user/examples
|
|
|
|
RUN chmod -R +x /home/user/examples/lua
|
2023-05-22 10:14:53 +00:00
|
|
|
RUN echo 'root:password' | chpasswd
|
|
|
|
CMD [ "/bin/bash" ]
|