gem-compiler (sha256:737fb26e14f39e15623ac61ccd7e13acf0957ed3dda5a095fec3539a89431f84)
Published 2025-02-22 16:00:06 +00:00 by sutty
Installation
docker pull git.sutty.abyaya.la/containers/gem-compiler@sha256:737fb26e14f39e15623ac61ccd7e13acf0957ed3dda5a095fec3539a89431f84sha256:737fb26e14f39e15623ac61ccd7e13acf0957ed3dda5a095fec3539a89431f84Image layers
| ADD alpine-minirootfs-3.19.7-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| ARG ALPINE_VERSION=3.19.7 |
| ENV LANG=C.UTF-8 |
| COPY /usr/share/zoneinfo/UTC /etc/localtime # buildkit |
| RUN |1 ALPINE_VERSION=3.19.7 /bin/sh -c echo ${ALPINE_VERSION} | cut -d . -f 1,2 | xargs -I {} echo https://alpine.sutty.nl/alpine/v{}/sutty | tee -a /etc/apk/repositories # buildkit |
| RUN |1 ALPINE_VERSION=3.19.7 /bin/sh -c wget https://alpine.sutty.nl/alpine/sutty.pub -O /etc/apk/keys/alpine@sutty.nl-5ea884cd.rsa.pub # buildkit |
| LABEL org.opencontainers.image.authors=f@sutty.nl |
| RUN /bin/sh -c apk add --no-cache alpine-sdk ccache cmake # buildkit |
| RUN /bin/sh -c adduser -s /bin/sh -D builder # buildkit |
| RUN /bin/sh -c adduser builder abuild # buildkit |
| ENV PATH=/usr/lib/ccache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| ARG ALPINE_VERSION=3.19.7 |
| LABEL org.opencontainers.image.authors=f@sutty.nl |
| ARG RUBY_VERSION=3.2 |
| ARG RUBY_PATCH=6 |
| RUN |3 ALPINE_VERSION=3.19.7 RUBY_VERSION=3.2 RUBY_PATCH=6 /bin/sh -c apk add --no-cache tzdata ruby~${RUBY_VERSION}.${RUBY_PATCH} && rm /usr/lib/ruby/${RUBY_VERSION}.0/rubygems.rb # buildkit |
| RUN |3 ALPINE_VERSION=3.19.7 RUBY_VERSION=3.2 RUBY_PATCH=6 /bin/sh -c apk add --no-cache ruby-json ruby-bigdecimal ruby-rake ruby-bundler ruby-irb ruby-io-console ruby-etc # buildkit |
| COPY /usr/lib/ruby/3.2.0/rubygems.rb /usr/lib/ruby/3.2.0/ # buildkit |
| RUN |3 ALPINE_VERSION=3.19.7 RUBY_VERSION=3.2 RUBY_PATCH=6 /bin/sh -c apk add --no-cache ruby-dev # buildkit |
| ENTRYPOINT ["/bin/sh" "-c" "/bin/sh"] |
| LABEL org.opencontainers.image.authors=f@sutty.nl |
| ENV PLATFORM=x86_64-linux-musl |
| ENV GEM_NAME=none |
| ENV GEM_VERSION=0 |
| ENV SUTTY=sutty.nl |
| ENV TOKEN=gibberish |
| ENV NOKOGIRI_USE_SYSTEM_LIBRARIES=1 |
| ENV EXTRA_PKGS= |
| COPY --chmod=444 ./public.pem /home/builder/public.pem # buildkit |
| RUN /bin/sh -c gem cert --add /home/builder/public.pem # buildkit |
| COPY ./gem-compiler-0.12.0.gem /tmp/ # buildkit |
| RUN /bin/sh -c gem install --no-user-install --no-document -P MediumSecurity --source https://rubygems.org /tmp/gem-compiler-0.12.0.gem # buildkit |
| COPY ./gem-compiler.sh /usr/local/bin/gem-compiler # buildkit |
| COPY ./bootstrap.sh /usr/local/bin/bootstrap # buildkit |
| COPY ./bulk-compiler.sh /usr/local/bin/bulk-compiler # buildkit |
| COPY ./os-version.sh /usr/local/bin/os-version # buildkit |
| RUN /bin/sh -c install -dm 2750 -o builder -g builder /srv/gems # buildkit |
| VOLUME [/srv/gems] |
| RUN /bin/sh -c apk add --no-cache su-exec libc6-compat libstdc++ openssh-client tea minor-versions # buildkit |
| ENTRYPOINT ["/bin/sh" "-c" "/bin/sh"] |
Labels
| Key | Value |
|---|---|
| org.opencontainers.image.authors | f@sutty.nl |
| org.opencontainers.image.created | 2025-02-22T15:58:29Z |
| org.opencontainers.image.revision | 8bc6be52460da2cb916a354eb514adfb013eabbb |
| org.opencontainers.image.source | https://git.sutty.abyaya.la/containers/gem-compiler.git |
| org.opencontainers.image.url | https://git.sutty.abyaya.la/containers/gem-compiler |
Details
2025-02-22 16:00:06 +00:00
Versions (9)
View all
Container
34
OCI / Docker
linux/amd64
f@sutty.nl
126 MiB
3.17.10-3.1.5
2026-04-15
3.19.9-3.2.8
2026-04-15
3.21.5-3.3.10
2026-01-15
3.19.7-3.2.6
2025-02-22
3.21.3-3.3.6
2025-02-22