mx1 (main)
Published 2024-09-23 00:52:03 +00:00 by sneak
Installation
docker pull git.eeqj.de/datavibe/mx1:main
sha256:d29510cbc244165a7ee85360b7a64d0c1fa83991403b266f582d5c5acce83a21
Image Layers
ADD file:5c44a80f547b7d68b550b0e64aef898b361666857abf9a5c8f3f8d0567b8e8e4 in / |
/bin/sh -c set -xe && echo '#!/bin/sh' > /usr/sbin/policy-rc.d && echo 'exit 101' >> /usr/sbin/policy-rc.d && chmod +x /usr/sbin/policy-rc.d && dpkg-divert --local --rename --add /sbin/initctl && cp -a /usr/sbin/policy-rc.d /sbin/initctl && sed -i 's/^exit.*/exit 0/' /sbin/initctl && echo 'force-unsafe-io' > /etc/dpkg/dpkg.cfg.d/docker-apt-speedup && echo 'DPkg::Post-Invoke { "rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true"; };' > /etc/apt/apt.conf.d/docker-clean && echo 'APT::Update::Post-Invoke { "rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true"; };' >> /etc/apt/apt.conf.d/docker-clean && echo 'Dir::Cache::pkgcache ""; Dir::Cache::srcpkgcache "";' >> /etc/apt/apt.conf.d/docker-clean && echo 'Acquire::Languages "none";' > /etc/apt/apt.conf.d/docker-no-languages && echo 'Acquire::GzipIndexes "true"; Acquire::CompressionTypes::Order:: "gz";' > /etc/apt/apt.conf.d/docker-gzip-indexes && echo 'Apt::AutoRemove::SuggestsImportant "false";' > /etc/apt/apt.conf.d/docker-autoremove-suggests |
/bin/sh -c [ -z "$(apt-get indextargets)" ] |
/bin/sh -c mkdir -p /run/systemd && echo 'docker' > /run/systemd/container |
CMD ["/bin/bash"] |
LABEL maintainer=sneak@sneak.berlin |
EXPOSE map[143/tcp:{} 22/tcp:{} 25/tcp:{} 443/tcp:{} 465/tcp:{} 80/tcp:{} 993/tcp:{} 995/tcp:{}] |
ENV DEBIAN_FRONTEND=noninteractive |
ENV MYHOSTNAME=mx1.datavi.be |
ADD ./root/etc/apt/sources.list /etc/apt/sources.list # buildkit |
RUN /bin/sh -c apt update && apt upgrade -y # buildkit |
RUN /bin/sh -c apt install -y build-essential byobu ca-certificates dnsutils git golang locales lsof mailutils net-tools iputils-ping netcat nginx openssh-server psmisc rsync runit telnet vim && go get -v -u github.com/peterbourgon/runsvinit && cp /root/go/bin/runsvinit /usr/local/sbin/runsvinit && rm -rf /root/go # buildkit |
ADD ./root/ /tmp/rootoverlay/ # buildkit |
RUN /bin/sh -c rsync -avP --no-owner /tmp/rootoverlay/ / && rm -rfv /tmp/rootoverlay # buildkit |
ADD ./setup/ /tmp/setup/ # buildkit |
ADD ./webroot/ /var/www/mx1.datavi.be # buildkit |
RUN /bin/sh -c /bin/bash /tmp/setup/setup # buildkit |
RUN /bin/sh -c apt-get clean autoclean && apt-get autoremove --yes && rm -rfv /var/lib/{apt,dpkg,cache,log}/ /var/tmp/* /tmp/* # buildkit |
RUN /bin/sh -c chmod +x /etc/service/*/run /etc/cron.daily/* # buildkit |
VOLUME [/state] |
VOLUME [/spool] |
CMD ["/usr/local/sbin/runsvinit"] |
Labels
Key | Value |
---|---|
maintainer | sneak@sneak.berlin |
Details
2024-09-23 00:52:03 +00:00
Versions (3)
View all
Container
0
OCI / Docker
linux/amd64
389 MiB