stevefolder (latest)

Published 2022-08-11 14:36:14 -04:00 by stryan in stryan/stevefolder

Installation

docker pull git.saintnet.tech/stryan/stevefolder:latest
sha256:9b76c9c64644334fe6a49de00c596c4fa0410c6fc16aaaa8085b986c967a2d03

Image Layers

ADD file:2a949686d9886ac7c10582a6c29116fd29d3077d02755e87e111870d63607725 in /
CMD ["/bin/sh"]
/bin/sh -c set -eux; apk add --no-cache bzip2 ca-certificates gmp-dev libffi-dev procps yaml-dev zlib-dev ;
/bin/sh -c set -eux; mkdir -p /usr/local/etc; { echo 'install: --no-document'; echo 'update: --no-document'; } >> /usr/local/etc/gemrc
ENV LANG=C.UTF-8
ENV RUBY_MAJOR=3.1
ENV RUBY_VERSION=3.1.2
ENV RUBY_DOWNLOAD_SHA256=ca10d017f8a1b6d247556622c841fc56b90c03b1803f87198da1e4fd3ec3bf2a
/bin/sh -c set -eux; apk add --no-cache --virtual .ruby-builddeps autoconf bison bzip2 bzip2-dev ca-certificates coreutils dpkg-dev dpkg g++ gcc gdbm-dev glib-dev libc-dev libffi-dev libxml2-dev libxslt-dev linux-headers make ncurses-dev openssl openssl-dev patch procps readline-dev ruby tar xz yaml-dev zlib-dev ; wget -O ruby.tar.xz "https://cache.ruby-lang.org/pub/ruby/${RUBY_MAJOR%-rc}/ruby-$RUBY_VERSION.tar.xz"; echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.xz" | sha256sum --check --strict; mkdir -p /usr/src/ruby; tar -xJf ruby.tar.xz -C /usr/src/ruby --strip-components=1; rm ruby.tar.xz; cd /usr/src/ruby; wget -O 'thread-stack-fix.patch' 'https://bugs.ruby-lang.org/attachments/download/7081/0001-thread_pthread.c-make-get_main_stack-portable-on-lin.patch'; echo '3ab628a51d92fdf0d2b5835e93564857aea73e0c1de00313864a94a6255cb645 *thread-stack-fix.patch' | sha256sum --check --strict; patch -p1 -i thread-stack-fix.patch; rm thread-stack-fix.patch; export ac_cv_func_isnan=yes ac_cv_func_isinf=yes; { echo '#define ENABLE_PATH_CHECK 0'; echo; cat file.c; } > file.c.new; mv file.c.new file.c; autoconf; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --disable-install-doc --enable-shared ; make -j "$(nproc)"; make install; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .ruby-rundeps $runDeps; apk del --no-network .ruby-builddeps; cd /; rm -r /usr/src/ruby; if apk --no-network list --installed | grep -v '^[.]ruby-rundeps' | grep -i ruby ; then exit 1; fi; [ "$(command -v ruby)" = '/usr/local/bin/ruby' ]; ruby --version; gem --version; bundle --version
ENV GEM_HOME=/usr/local/bundle
ENV BUNDLE_SILENCE_ROOT_WARNING=1 BUNDLE_APP_CONFIG=/usr/local/bundle
ENV PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
/bin/sh -c mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
CMD ["irb"]
/bin/sh -c apk upgrade --update && apk add --no-cache bash ca-certificates curl less libstdc++ libressl-dev g++ tzdata make shared-mime-info zlib-dev && rm -rf /var/cache/apk/*
/bin/sh -c mkdir /srv/stevefolder
WORKDIR /srv/stevefolder
COPY multi:569ab43c66419d8329b95ecc57cbdf85adca8eb0b999b94256375698198daf74 in ./
/bin/sh -c bundle install
COPY multi:ef41e02aa65e0181d01c33b2e26172b79772bc2f792da3456a0ac5e20f2ae6ab in ./
/bin/sh -c mkdir spool
ENTRYPOINT ["ruby", "main.rb"]

Labels

Key Value
io.buildah.version 1.26.1
Details
Container
2022-08-11 14:36:14 -04:00
410
OCI / Docker
linux/amd64
143 MiB
Versions (1) View all
latest 2022-08-11