- Dortmund, Germany
-
CS student at TU-Dortmund
- Joined on
2023-11-08
Block a user
fail-env (sha256:d80ed94d40728dc08206f5eb4b36afb63b6fe7bda2b2331cc61eae44591550aa)
Installation
docker pull gitea.vps.chriphost.de/christoph/fail-env@sha256:d80ed94d40728dc08206f5eb4b36afb63b6fe7bda2b2331cc61eae44591550aasha256:d80ed94d40728dc08206f5eb4b36afb63b6fe7bda2b2331cc61eae44591550aaImage Layers
| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=24.04 |
| ADD file:1ae27d2ef4369361104b699712f3897141e394785df5d193d67b44626f57eb87 in / |
| CMD ["/bin/bash"] |
| RUN /bin/sh -c apt-get update && DEBIAN_FRONTEND=noninteractive TZ=Europe/Berlin apt-get install -y --no-install-recommends build-essential ca-certificates cmake cmake-curses-gui wget git doxygen screen openssh-server neovim ranger libmysqlclient-dev libcapstone4 libprotobuf-dev libtinfo-dev libdwarf-dev libelf-dev libiberty-dev libboost-thread1.74-dev libboost-system1.74-dev libboost-regex1.74-dev libboost-coroutine1.74-dev libboost-context1.74-dev libfontconfig1-dev zlib1g-dev libz3-dev libsdl1.2-dev libgtk2.0-dev libncurses-dev libx11-dev xorg-dev libasound2-dev protobuf-compiler libtinfo6 libmariadb3 libprotobuf32t64 libncurses6 grub-common xorriso grub-pc-bin mysql-client unzip bochs python3-setuptools python3-flask python3-mysqldb python3-yaml # buildkit |
| RUN /bin/sh -c wget -O "libpcl1.deb" "http://archive.ubuntu.com/ubuntu/pool/universe/libp/libpcl1/libpcl1_1.12-2_amd64.deb" && dpkg -i "libpcl1.deb" && rm -f "libpcl1.deb" # buildkit |
| RUN /bin/sh -c ln -sf /usr/bin/python3 /usr/bin/python # buildkit |
| RUN /bin/sh -c useradd fail && mkdir /home/fail && chown fail /home/fail && echo 'fail:fail' | chpasswd && chsh fail --shell /bin/bash && adduser fail sudo # buildkit |
| RUN /bin/sh -c mkdir /var/run/sshd && sed 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g' -i /etc/pam.d/sshd # buildkit |
| ENV NOTVISIBLE=in users profile |
| RUN /bin/sh -c echo "export VISIBLE=now" >> /etc/profile # buildkit |
| USER fail |
| ENV HOME=/home/fail |
| WORKDIR /home/fail |
| USER root |
| ADD my.cnf /home/fail/.my.cnf # buildkit |
| RUN /bin/sh -c chown fail /home/fail/.my.cnf # buildkit |
| EXPOSE [22/tcp] |
| CMD ["/usr/sbin/sshd" "-D"] |
Labels
| Key | Value |
|---|---|
| org.opencontainers.image.ref.name | ubuntu |
| org.opencontainers.image.version | 24.04 |