docbrown/Containerfile.base
Helio Cola c7fd166e92
Update ruby to v3.2.0 (#20184)
* Update ruby to v3.2.0

And ruby-next to v3.2.1

* Update .ruby-version-next

---------

Co-authored-by: Mac Siri <mac@forem.com>
Co-authored-by: Mac Siri <krairit.siri@gmail.com>
2023-12-12 22:49:40 +00:00

26 lines
735 B
Text

ARG RUBY_VERSION=3.2.0
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" ]