tenderbuttons (latest)

Published 2026-05-06 17:14:33 +02:00 by andy in andy/tenderbuttons

Installation

docker pull code.andydayton.com/andy/tenderbuttons:latest
sha256:39f93ab4f4ed6f780678c0c1336aed73aa15425bb3b5dff62ce2f1c1669b8c79

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"]
/bin/sh -c dnf install -y --setopt=skip_missing_names_on_install=False http://rpms.famillecollet.com/enterprise/remi-release-9.rpm mysql subversion && dnf --disablerepo remi-safe && dnf install --enablerepo=remi libcouchbase -y && dnf clean all && rm -rf /var/cache/yum && mkdir -p /var/lib/jelastic/hooks && echo appserverlayer `date "+%F %T"` >> /etc/jelastic/jinfo.ini
LABEL nodeMission=cp
CMD ["/bin/sh" "-c" "/bin/bash"]
ARG STACK_VERSION
ARG STACK_MAJOR_VERSION
ARG GO111MODULE
ENV GO_VERSION=1.22.1
ENV STACK_VERSION=1.22.1
ENV HOME_DIR=/home/jelastic
ENV STACK_PATH=/home/jelastic
ENV STACK_USER=golang
ENV WEB_ROOT=/home/jelastic/webapp
ARG GOPATH=/home/jelastic/webapp
ARG LOG_DIR=/var/log/go
ARG GO_INSTALL_PATH=/usr/local
ENV PATH=/usr/local/go/bin/:/home/jelastic/webapp/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV GO_BUILD_OPTIONS=-a
ENV GO_RUN=__AUTO__
ENV GO_RUN_OPTIONS=
ENV GO111MODULE=on
RUN |6 STACK_VERSION=1.22.1 STACK_MAJOR_VERSION=22 GO111MODULE=on GOPATH=/home/jelastic/webapp LOG_DIR=/var/log/go GO_INSTALL_PATH=/usr/local /bin/sh -c useradd -ou 700 -r -m -s /bin/bash -d $HOME_DIR $STACK_USER && echo $STACK_USER:$(echo $RANDOM | md5sum | head -c 25) | chpasswd && getent group apache >/dev/null || /usr/sbin/groupadd -g 48 -r apache 2> /dev/null && getent passwd apache >/dev/null || /usr/sbin/useradd -c "Apache" -u 48 -g apache -s /sbin/nologin -r -d /usr/share/httpd apache 2> /dev/null && dnf install -y gcc gcc-c++ e2fsprogs mercurial git # buildkit
RUN |6 STACK_VERSION=1.22.1 STACK_MAJOR_VERSION=22 GO111MODULE=on GOPATH=/home/jelastic/webapp LOG_DIR=/var/log/go GO_INSTALL_PATH=/usr/local /bin/sh -c wget https://storage.googleapis.com/golang/go${GO_VERSION}.linux-amd64.tar.gz && tar -C $GO_INSTALL_PATH -xzf go${GO_VERSION}.linux-amd64.tar.gz && rm -f go${GO_VERSION}.linux-amd64.tar.gz && echo "export GOPATH=$WEB_ROOT" > /etc/profile.d/go.sh && echo "export PATH=\$PATH:/usr/local/go/bin:\$GOPATH/bin" >> /etc/profile.d/go.sh # buildkit
RUN |6 STACK_VERSION=1.22.1 STACK_MAJOR_VERSION=22 GO111MODULE=on GOPATH=/home/jelastic/webapp LOG_DIR=/var/log/go GO_INSTALL_PATH=/usr/local /bin/sh -c if [[ $STACK_MAJOR_VERSION -lt 16 ]] ; then . /etc/profile && go get -u github.com/golang/dep/cmd/dep && rm -rf $GOPATH/src/*; else true; fi # buildkit
ADD scripts/init.script /etc/rc.d/init.d/golang # buildkit
ADD scripts/override.conf /etc/systemd/system/golang.service.d/override.conf # buildkit
ADD scripts/golang.service /usr/lib/systemd/system/golang.service # buildkit
ADD scripts/goStart /usr/local/sbin/goStart # buildkit
ADD scripts/default-page/ /home/jelastic/webapp/src/default # buildkit
ADD src/. / # buildkit
ADD scripts/configure-jem.sh /tmp/configure-jem.sh # buildkit
RUN |6 STACK_VERSION=1.22.1 STACK_MAJOR_VERSION=22 GO111MODULE=on GOPATH=/home/jelastic/webapp LOG_DIR=/var/log/go GO_INSTALL_PATH=/usr/local /bin/sh -c chmod 755 /etc/rc.d/init.d/golang /tmp/configure-jem.sh /usr/local/sbin/goStart && bash -x /tmp/configure-jem.sh && echo "$LOG_DIR $HOME_DIR/log none bind 0 0 " >> /etc/fstab && echo golang `date "+%F %T"` >> /etc/jelastic/jinfo.ini # buildkit
EXPOSE map[21/tcp:{} 22/tcp:{} 25/tcp:{} 80/tcp:{}]
LABEL actions=isVcsSupport webAccess appUser=golang cloudletsCount=6 contextRegex=ROOT description=Golang docker distrib=almalinux9 engine=go engineType=golang engineVersion=1.22.1 jem=1 logFolder=/var/log name=Golang nodeMission=cp nodeType=golang nodeVersion=1.22.1 singleContext=1 sourceUrl=https://raw.githubusercontent.com/jelastic/icons/master/golang/
/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
/bin/sh -c rpm -qa git; dnf --disablerepo=* --enablerepo=appstream update -y git && dnf clean all
LABEL deprecated=true
WORKDIR /app
COPY . . # buildkit
RUN /bin/sh -c go mod download # buildkit
EXPOSE map[8080/tcp:{}]
RUN /bin/sh -c go build -o /main . # buildkit
CMD ["/main"]

Labels

Key Value
actions isVcsSupport webAccess
appUser golang
cloudletsCount 6
compatibleVersionsFrom 8.3-1
contextRegex ROOT
deprecated true
description Golang docker
distrib almalinux9
distributionName AlmaLinux
distributionType almalinux
distributionVersion 9.3
distroTemplate .almalinux-9-x86_64
engine go
engineType golang
engineVersion 1.22.1
jem 1
logFolder /var/log
maintainer Virtuozzo International GmbH.
name Golang
nodeMission cp
nodeType golang
nodeVersion 1.22.1
osTemplate .almalinux-9-x86_64
singleContext 1
sourceUrl https://raw.githubusercontent.com/jelastic/icons/master/golang/
Details
Container
2026-05-06 17:14:33 +02:00
5
OCI / Docker
linux/amd64
470 MiB
Versions (2) View all
latest 2026-05-06
v1.0.0 2026-05-06