yesterdaysnews-server (latest)

Published 2026-05-06 11:07:11 +02:00 by andy in andy/yesterdaysnews

Installation

docker pull code.andydayton.com/andy/yesterdaysnews-server:latest
sha256:b0180ef5ef39fbda69d2765b3d485d61da255d8e4dc018977079b5c8819f8b38

Image layers

ADD file:9788b2efafa75575650a53daa65abb265da8eb6383be54f969f94c96c19ad82f in /
CMD ["/bin/bash"]
ARG STACK_VERSION
LABEL maintainer=Virtuozzo International GmbH.
RUN |1 STACK_VERSION=9.3 /bin/sh -c dnf -y update && dnf -y install epel-release && dnf -y install --setopt=skip_missing_names_on_install=False acl http://repository.jelastic.com/pub/autofs-5.1.8-1j.el9.x86_64.rpm bind-utils bzip2 bzip2-devel cronie dnf-plugins-core e2fsprogs expect file gawk gettext git glibc-common jq less libgudev1 logrotate lynx lsof mc microdnf nano net-snmp-libs net-tools nfs-utils nftables nscd openssh openssh-clients openssh-server openssl patch policycoreutils pv pwgen rpcbind rsync rsyslog screen sed sendmail strace sudo systemd tar time unzip vim xmlstarlet wget zip glibc-langpack-en.x86_64 && dnf config-manager --enable crb && dnf update -y ca-certificates && dnf clean all && systemctl disable dnf-makecache.timer && systemctl disable dnf-makecache.service && $( grep -q '^HostKey /etc/ssh/ssh_host_rsa_key' /etc/ssh/sshd_config && sed -i -re '/HostKey.*rsa_key/s/^/#/' /etc/ssh/sshd_confi || true ) && $( grep -q '^\#HostKey /etc/ssh/ssh_host_ed25519_key' /etc/ssh/sshd_config && sed -i -re '/HostKey.*ed25519_key/s/^#//' /etc/ssh/sshd_config || true ) && $( grep -q '^\#HostKey /etc/ssh/ssh_host_ecdsa_key' /etc/ssh/sshd_config && sed -i -re '/HostKey.*ecdsa_key/s/^#//' /etc/ssh/sshd_config || true ) && sed -i 's/^#PermitRootLogin/PermitRootLogin/g' /etc/ssh/sshd_config && sed -i 's/PermitRootLogin.*/PermitRootLogin yes/g' /etc/ssh/sshd_config && { grep ^PasswordAuthentication /etc/ssh/sshd_config || sed -i 's/#PasswordAuthentication/PasswordAuthentication'/ /etc/ssh/sshd_config; } && sed -i 's/PasswordAuthentication.*/PasswordAuthentication yes/g' /etc/ssh/sshd_config && sed -i -re '/^[\#]?ClientAliveInterval/cClientAliveInterval 30' /etc/ssh/sshd_config && sed -i -re '/^[\#]?ClientAliveCountMax/cClientAliveCountMax 50' /etc/ssh/sshd_config && sed -i -re 's/^AcceptEnv/# AcceptEnv/' /etc/ssh/sshd_config && sed -i '/^override_install_langs=/d' /etc/yum.conf && sed -i 's/#UseDNS/UseDNS/g' /etc/ssh/sshd_config && sed -i 's/UseDNS yes/UseDNS no/g' /etc/ssh/sshd_config && sed -ri '/^[[:blank:]]*enable[-]cache[[:blank:]]+(passwd|netgroup)[[:blank:]]/s/yes/no/' /etc/nscd.conf && sed -ri '/^[[:blank:]]*positive[-]time[-]to[-]live[[:blank:]]+hosts[[:blank:]]/s/3600/60/' /etc/nscd.conf && sed -i 's/#SystemMaxUse=/SystemMaxUse=50M/g' /etc/systemd/journald.conf && sed -c -i -re 's|^(-session\s*optional\s*pam_systemd.so)|# \1|' /etc/pam.d/* && sed -i -re '/\{/{n;s/monthly/weekly/g}' -e '/missingok/{n;s/monthly/weekly/g}' -e '/rotate/s/1/6/g' /etc/logrotate.conf && sed -i '/ListenDatagram/s/=\/var/=/' /usr/lib/systemd/system/nscd.service && sed -i '/UID_MIN/s/1000/700/' /etc/login.defs && git config --global --add safe.directory '*' && sed -i -re '/include/s/^include/\# include/' /etc/nanorc && $( [[ -e /usr/bin/python ]] || ln -s /usr/bin/python3 /usr/bin/python ) # buildkit
RUN |1 STACK_VERSION=9.3 /bin/sh -c /usr/bin/getent group slocate >/dev/null || groupadd -g 21 -r -f slocate && /usr/bin/getent group named >/dev/null || /usr/sbin/groupadd -g 25 -f -r named >/dev/null 2>&1 && /usr/bin/getent passwd named >/dev/null || /usr/sbin/useradd -u 25 -r -N -M -g named -s /sbin/nologin -d /var/named -c Named named >/dev/null 2>&1 && rm -f locale-archive* /var/log/README && cd /usr/lib/locale && localedef --add-to-archive en_US* && cp locale-archive locale-archive.real # buildkit
ADD src/. / # buildkit
RUN |1 STACK_VERSION=9.3 /bin/sh -c set -x;systemctl mask dev-mqueue.mount dev-hugepages.mount systemd-remount-fs.service sys-kernel-config.mount sys-kernel-debug.mount sys-fs-fuse-connections.mount display-manager.service graphical.target && /usr/bin/systemctl enable nscd && /bin/rm -f /etc/sysconfig/ip6tables && rm -rf /usr/lib/sysctl.d/* && chmod 644 /etc/logrotate.d/simplehttp && chmod 755 /etc /etc/jelastic /etc/rc.d /etc/security /etc/sudoers.d /etc/sysconfig /etc/vsftpd /usr /usr/local /usr/local/bin /usr/local/sbin /var/ /var/lib /etc/rc.d/init.d /etc/logrotate.d && chmod 600 /var/spool/anacron/cron.daily /var/spool/anacron/cron.monthly /var/spool/anacron/cron.weekly && chmod 644 /etc/security/limits.conf && sed -i 's/C.UTF*8/en_US.UTF-8/i' /etc/locale.conf # buildkit
RUN |1 STACK_VERSION=9.3 /bin/sh -c [ -e /var/log/grubby_prune_debug ] && rm -f /var/log/grubby_prune_debug || true; # buildkit
RUN |1 STACK_VERSION=9.3 /bin/sh -c mkdir -p /etc/jelastic/ && echo almalinux9 `date "+%F %T"` >> /etc/jelastic/jinfo.ini # buildkit
LABEL osTemplate=.almalinux-9-x86_64 compatibleVersionsFrom=8.3-1 distroTemplate=.almalinux-9-x86_64 distrib=almalinux9 distributionName=AlmaLinux distributionType=almalinux distributionVersion=9.3
CMD ["/bin/bash"]
ARG STACK_VERSION
ARG STACK_MAJOR_VERSION
ENV STACK_VERSION=9.3
RUN |2 STACK_VERSION=9.3 STACK_MAJOR_VERSION=9 /bin/sh -c dnf -y install --setopt=skip_missing_names_on_install=False libcom_err-devel nfs-utils && dnf clean all # buildkit
ADD src/. / # buildkit
RUN |2 STACK_VERSION=9.3 STACK_MAJOR_VERSION=9 /bin/sh -c sed -i -re "s/COMPUTE_TYPE_FULL_VERSION=[0-9.]*/COMPUTE_TYPE_FULL_VERSION=${STACK_VERSION}/g" -e "s/COMPUTE_TYPE_VERSION=.*/COMPUTE_TYPE_VERSION=${STACK_VERSION/.*}/" /etc/jelastic/metainf.conf && echo almalinuxvps `date "+%F %T"` >> /etc/jelastic/jinfo.ini && . /etc/os-release && echo -e "DISTRIBUTION_NAME=$NAME\nDISTRIBUTION_VERSION=$VERSION_ID" >> /etc/jelastic/metainf.conf # buildkit
EXPOSE map[22/tcp:{}]
LABEL appUser=root cloudletsCount=4 cloudletsMinCount=1 contextRegex=ROOT description=AlmaLinux VPS jem=1 logFolder=/var/log/ name=AlmaLinux nodeMission=vds emailTemplate=centos_node_added nodeType=almalinux-vps nodeTypeAlias=almalinux9 nodeVersion=9.3 sourceUrl=https://raw.githubusercontent.com/jelastic/icons/master/almalinuxvps/
CMD ["/bin/bash"]
/bin/sh -c dnf --disablerepo=* --enablerepo=baseos update -y openssh-server && dnf clean all
/bin/sh -c dnf --disablerepo=* --enablerepo=baseos update -y openssh-server && dnf clean all
WORKDIR /
COPY bin/server-linux-amd64 /main # buildkit
EXPOSE map[8080/tcp:{}]
CMD ["/main"]

Labels

Key Value
appUser root
cloudletsCount 4
cloudletsMinCount 1
compatibleVersionsFrom 8.3-1
contextRegex ROOT
description AlmaLinux VPS
distrib almalinux9
distributionName AlmaLinux
distributionType almalinux
distributionVersion 9.3
distroTemplate .almalinux-9-x86_64
emailTemplate centos_node_added
jem 1
logFolder /var/log/
maintainer Virtuozzo International GmbH.
name AlmaLinux
nodeMission vds
nodeType almalinux-vps
nodeTypeAlias almalinux9
nodeVersion 9.3
osTemplate .almalinux-9-x86_64
sourceUrl https://raw.githubusercontent.com/jelastic/icons/master/almalinuxvps/
Details
Container
2026-05-06 11:07:11 +02:00
5
OCI / Docker
linux/amd64
160 MiB
Versions (2) View all
latest 2026-05-06
v1.0.11 2026-05-06