oculus (production-monitor)

Published 2024-06-13 13:49:41 -04:00 by colin in colin/Oculus

Installation

docker pull git.nixc.us/colin/oculus:production-monitor
sha256:a78cdc3d8bb0e517abdaf250bdcfe2d694cf84f9b54eee594b841381535d6076

Image Layers

ADD file:8ec69d882e7f29f0652d537557160e638168550f738d0d49f90a7ef96bf31787 in /
CMD ["/bin/sh"]
/bin/sh -c apk add --no-cache ca-certificates openssh-client
/bin/sh -c [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf
ENV DOCKER_VERSION=20.10.7
/bin/sh -c set -eux; apkArch="$(apk --print-arch)"; case "$apkArch" in 'x86_64') url='https://download.docker.com/linux/static/stable/x86_64/docker-20.10.7.tgz'; ;; 'armhf') url='https://download.docker.com/linux/static/stable/armel/docker-20.10.7.tgz'; ;; 'armv7') url='https://download.docker.com/linux/static/stable/armhf/docker-20.10.7.tgz'; ;; 'aarch64') url='https://download.docker.com/linux/static/stable/aarch64/docker-20.10.7.tgz'; ;; *) echo >&2 "error: unsupported architecture ($apkArch)"; exit 1 ;; esac; wget -O docker.tgz "$url"; tar --extract --file docker.tgz --strip-components 1 --directory /usr/local/bin/ ; rm docker.tgz; dockerd --version; docker --version
COPY file:abb137d24130e7fa2bdd38694af607361ecb688521e60965681e49460964a204 in /usr/local/bin/modprobe
COPY file:5b18768029dab8174c9d5957bb39560bde5ef6cba50fbbca222731a0059b449b in /usr/local/bin/
ENV DOCKER_TLS_CERTDIR=/certs
/bin/sh -c mkdir /certs /certs/client && chmod 1777 /certs /certs/client
ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["sh"]
/bin/sh -c set -eux; apk add --no-cache btrfs-progs e2fsprogs e2fsprogs-extra ip6tables iptables openssl shadow-uidmap xfsprogs xz pigz ; if zfs="$(apk info --no-cache --quiet zfs)" && [ -n "$zfs" ]; then apk add --no-cache zfs; fi
/bin/sh -c set -eux; addgroup -S dockremap; adduser -S -G dockremap dockremap; echo 'dockremap:165536:65536' >> /etc/subuid; echo 'dockremap:165536:65536' >> /etc/subgid
ENV DIND_COMMIT=42b1175eda071c0e9121e1d64345928384a93df1
/bin/sh -c set -eux; wget -O /usr/local/bin/dind "https://raw.githubusercontent.com/docker/docker/${DIND_COMMIT}/hack/dind"; chmod +x /usr/local/bin/dind
COPY file:89f2c7c1492b0cb067fc6be48e1edf3f04c0b6063371da4a48cd4ca35aa098d7 in /usr/local/bin/
VOLUME [/var/lib/docker]
EXPOSE 2375 2376
ENTRYPOINT ["dockerd-entrypoint.sh"]
CMD []
ADD https://git.nixc.us/colin/Oculus/raw/branch/main/dist/oculus_linux_amd64_api_static /oculus_api # buildkit
RUN /bin/sh -c chmod +x /oculus_api # buildkit
EXPOSE map[8080/tcp:{}]
CMD ["sh" "-c" "dockerd-entrypoint.sh & /oculus_api"]

Labels

Key Value
com.docker.compose.project oculus
com.docker.compose.service monitor
com.docker.compose.version 2.27.0
Details
Container
2024-06-13 13:49:41 -04:00
44
OCI / Docker
linux/amd64
86 MiB
Versions (6) View all
production-monitor 2024-06-13
production-reporter 2024-06-13
staging-reporter 2024-06-13
staging-monitor 2024-06-13
production 2024-06-12