go-skel (sha256:afa3c50e5d9b9ad5b8f4aae2f638f608831c2c16f07b378bcd9cf323945520fa)

Published 2025-12-09 07:27:22 +00:00 by oleksii

Installation

docker pull nrtn.dev/catalyst/go-skel@sha256:afa3c50e5d9b9ad5b8f4aae2f638f608831c2c16f07b378bcd9cf323945520fa
sha256:afa3c50e5d9b9ad5b8f4aae2f638f608831c2c16f07b378bcd9cf323945520fa

Image layers

ADD alpine-minirootfs-3.23.0-armv7.tar.gz / # buildkit
CMD ["/bin/sh"]
RUN /bin/sh -c apk add --no-cache ca-certificates tzdata wget # buildkit
RUN /bin/sh -c addgroup -g 1000 go-skel && adduser -D -u 1000 -G go-skel go-skel # buildkit
WORKDIR /app
ARG TARGETPLATFORM=linux/arm/v7
COPY dist/go-skel-* /tmp/ # buildkit
RUN |1 TARGETPLATFORM=linux/arm/v7 /bin/sh -c set -ex; echo "Building for platform: $TARGETPLATFORM"; case "$TARGETPLATFORM" in "linux/amd64") BINARY="go-skel-linux-amd64" ;; "linux/arm64") BINARY="go-skel-linux-arm64" ;; "linux/arm/v7") BINARY="go-skel-linux-arm" ;; *) echo "ERROR: Unsupported platform: $TARGETPLATFORM"; exit 1 ;; esac; echo "Looking for binary: /tmp/$BINARY"; ls -la /tmp/go-skel-* || true; if [ ! -f "/tmp/$BINARY" ]; then echo "ERROR: Binary /tmp/$BINARY not found!"; exit 1; fi; cp "/tmp/$BINARY" /usr/local/bin/go-skel; chmod +x /usr/local/bin/go-skel; rm -rf /tmp/go-skel-*; echo "Installed: $(ls -lh /usr/local/bin/go-skel)" # buildkit
RUN |1 TARGETPLATFORM=linux/arm/v7 /bin/sh -c chown -R go-skel:go-skel /app # buildkit
USER go-skel
EXPOSE [8080/tcp 9300/tcp]
HEALTHCHECK &{["CMD-SHELL" "wget --no-verbose --tries=1 --spider http://localhost:9300/health || exit 1"] "30s" "3s" "5s" "0s" '\x03'}
CMD ["go-skel" "serve"]
Details
Container
2025-12-09 07:27:22 +00:00
0
OCI / Docker
linux/arm/v7
37 MiB
Versions (1) View all
9d54110 2025-12-09