debian_mini 832 B

123456789101112131415161718
  1. FROM --platform=i386 i386/debian:buster
  2. ARG DEBIAN_FRONTEND=noninteractive
  3. RUN apt-get clean && apt-get update && apt-get -y upgrade
  4. RUN apt-get -y install apt-utils gcc \
  5. python3 vim unzip ruby nodejs \
  6. fakeroot dbus base whiptail hexedit \
  7. patch wamerican ucf manpages \
  8. file luajit make lua50 dialog curl \
  9. less cowsay netcat-openbsd
  10. RUN useradd -m user && echo "user:password" | chpasswd
  11. COPY --chown=user:user ./examples /home/user/examples
  12. RUN chmod -R +x /home/user/examples/lua
  13. # We set WORKDIR, as this gets extracted by Webvm to be used as the cwd. This is optional.
  14. WORKDIR /home/user/
  15. # We set env, as this gets extracted by Webvm. This is optional.
  16. ENV HOME="/home/user" TERM="xterm" USER="user" SHELL="/bin/bash" EDITOR="vim" LANG="en_US.UTF-8" LC_ALL="C"
  17. RUN echo 'root:password' | chpasswd
  18. CMD [ "/bin/bash" ]