forked from leaningtech/webvm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
debian_large
19 lines (17 loc) · 957 Bytes
/
debian_large
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 \
xxd iptables isc-dhcp-client isc-dhcp-common kmod less netcat-openbsd
# Make a user, then copy over the /example directory
RUN useradd -m user && echo "user:password" | chpasswd
COPY --chown=user:user ./examples /home/user/examples
RUN chmod -R +x /home/user/examples/lua
RUN echo 'root:password' | chpasswd
CMD [ "/bin/bash" ]