cloud-hosting-platform

cnoc (node18)

Published 2026-04-16 14:59:28 +00:00 by whp-cicd-user in cloud-hosting-platform/cloud-node-container

Installation

docker pull repo.anhonesthost.net/cloud-hosting-platform/cnoc:node18
sha256:059a29f03fdd421326b37d0be37e08abdbb4910fde5414826171e1982a28d27c

Images

Digest OS / Arch Size
511c277453 linux/amd64 612 MiB

Image Layers ( linux/amd64)

COPY / / # buildkit
ENV LANG=C.utf8
CMD ["/bin/bash"]
ARG NODEVER=18
RUN |1 NODEVER=18 /bin/sh -c dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && dnf update -y && dnf install -y wget procps cronie iproute nginx openssl git microdnf make gcc gcc-c++ && dnf group install -y 'Development Tools' && dnf clean all && rm -rf /var/cache/dnf /usr/share/doc /usr/share/man /usr/share/locale/* /var/cache/yum /tmp/* /var/tmp/* # buildkit
COPY ./scripts/ /scripts/ # buildkit
RUN |1 NODEVER=18 /bin/sh -c chmod +x /scripts/* # buildkit
RUN |1 NODEVER=18 /bin/sh -c openssl req -newkey rsa:2048 -nodes -keyout /etc/pki/tls/private/localhost.key -x509 -days 3650 -subj "/CN=localhost" -out /etc/pki/tls/certs/localhost.crt && mkdir -p /var/log/nodejs && /scripts/install-node$NODEVER.sh && rm -rf /tmp/* # buildkit
RUN |1 NODEVER=18 /bin/sh -c npm install -g pm2@latest --production && npm cache clean --force && rm -rf /tmp/* # buildkit
COPY ./configs/nginx.conf /etc/nginx/nginx.conf # buildkit
COPY ./examples/ /examples/ # buildkit
RUN |1 NODEVER=18 /bin/sh -c echo "15 */12 * * * root /scripts/log-rotate.sh" >> /etc/crontab # buildkit
HEALTHCHECK &{["CMD-SHELL" "wget --spider -q http://localhost/ || exit 1"] "30s" "5s" "1m0s" "0s" '\x03'}
ENTRYPOINT ["/scripts/entrypoint.sh"]
Details
Container
2026-04-16 14:59:28 +00:00
1
OCI / Docker
Versions (4) View all
node22 2026-04-16
node20 2026-04-16
latest 2026-04-16
node18 2026-04-16