anchor.diff:  	} >> /usr/local/etc/gemrc
   
   ENV RUBY_MAJOR 2.5
  -ENV RUBY_VERSION 2.5.1
  -ENV RUBY_DOWNLOAD_SHA256 886ac5eed41e3b5fc699be837b0087a6a5a3d10f464087560d2d21b3e71b754d
  -ENV RUBYGEMS_VERSION 2.7.7
  -ENV BUNDLER_VERSION 1.16.2
  +ENV RUBY_VERSION 2.5.3
  +ENV RUBY_DOWNLOAD_SHA256 1cc9d0359a8ea35fc6111ec830d12e60168f3b9b305a3c2578357d360fcf306f
  +ENV RUBYGEMS_VERSION 2.7.8
  +ENV BUNDLER_VERSION 1.17.1
   
   # some of ruby's build scripts are written in ruby
   #   we purge system ruby later to make sure our final image uses what we just built
  -# readline-dev vs libedit-dev: https://bugs.ruby-lang.org/issues/11869 and https://github.com/docker-library/ruby/issues/75
   RUN set -ex \
   	\
  -	&& apk add --no-cache --virtual .ruby-builddeps \
  -		autoconf \
  +	&& buildDeps=' \
   		bison \
  -		bzip2 \
  -		bzip2-dev \
  -		ca-certificates \
  -		coreutils \
  -		dpkg-dev dpkg \
  -		gcc \
  -		gdbm-dev \
  -		glib-dev \
  -		libc-dev \
  -		libffi-dev \
  -		libressl \
  -		libressl-dev \
  -		libxml2-dev \
  -		libxslt-dev \
  -		linux-headers \
  -		make \
  -		ncurses-dev \
  -		procps \
  -		readline-dev \
  +		dpkg-dev \
  +		libgdbm-dev \
   		ruby \
  -		tar \
  -		xz \
  -		yaml-dev \
  -		zlib-dev \
  +	' \
  +	&& apt-get update \
  +	&& apt-get install -y --no-install-recommends $buildDeps \
  +	&& rm -rf /var/lib/apt/lists/* \
   	\
   	&& 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 -c - \
  
positive.code: 		--enable-shared \
  		--enable-unicode=ucs4 \
  	&& make -j "$(nproc)" \
  # set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit()
  # https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0
  		EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" \
  	&& make install \
  	\
  	&& find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' \
  		| tr ',' '\n' \
  		| sort -u \
  		| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
  		| xargs -rt apk add --virtual .python-rundeps \
  	&& apk del .build-deps \
  	\
  	&& find /usr/local -depth \
  		\( \
  
negative.code: 	\
  	&& autoconf \
  	&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
  	&& ./configure \
  		--build="$gnuArch" \
  		--disable-install-doc \
  