docbrown/Containerfile.base
Josh Klar 7db08e34b8
ruby: Upgrade to v3.1.4 (pt. 2, app image) (#19912)
Co-authored-with: Josh Klar <josh@klar.sh>

Co-authored-by: Helio Cola <helio@tcard.io>
2023-08-09 14:18:13 -07:00

26 lines
735 B
Text

ARG RUBY_VERSION=3.1.4
ARG DEBIAN_VERSION=bullseye
FROM public.ecr.aws/docker/library/ruby:${RUBY_VERSION}-slim-${DEBIAN_VERSION} AS ruby-upstream
RUN apt update && \
apt install -y \
curl \
gnupg2 \
&& \
curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
curl -fsSL https://deb.nodesource.com/setup_16.x | bash - && \
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
apt update && \
apt install -y \
imagemagick \
iproute2 \
libjemalloc2 \
less \
postgresql-client \
tzdata \
nodejs \
yarn \
&& \
apt clean
CMD [ "/usr/local/bin/irb" ]