File tree Expand file tree Collapse file tree 1 file changed +9
-20
lines changed
Expand file tree Collapse file tree 1 file changed +9
-20
lines changed Original file line number Diff line number Diff line change 11FROM public.ecr.aws/lambda/python:3.12
22
3- ENV RUBY_VERSION=3.2.4
4-
5- # Install build tools
3+ # Install system packages
64RUN dnf -y update && \
75 dnf -y install \
86 gcc gcc-c++ make \
9- tar gzip bzip2 \
10- curl wget git which \
11- procps-ng \
12- openssl-devel readline-devel zlib-devel libyaml-devel libffi-devel gdbm-devel ncurses-devel \
13- ca-certificates findutils shadow-utils && \
7+ autoconf automake bison libtool patch \
8+ tar gzip bzip2 xz \
9+ git which procps-ng findutils ca-certificates \
10+ ruby ruby-devel rubygems \
11+ openssl-devel readline-devel zlib-devel libyaml-devel libffi-devel \
12+ gdbm-devel ncurses-devel sqlite-devel && \
1413 dnf clean all && rm -rf /var/cache/dnf
1514
16- # Install RVM and Ruby
17- RUN curl -sSL https://rvm.io/mpapis.asc | gpg --import - && \
18- curl -sSL https://rvm.io/pkuczynski.asc | gpg --import - && \
19- curl -sSL https://get.rvm.io | bash -s stable
20-
21- SHELL ["/bin/bash" , "-lc" ]
22-
23- RUN source /etc/profile.d/rvm.sh && \
24- rvm requirements && \
25- rvm install "${RUBY_VERSION}" && \
26- rvm --default use "${RUBY_VERSION}" && \
27- gem update --system && \
15+ # Install Ruby gems
16+ RUN gem update --system && \
2817 gem install bundler --no-document && \
2918 gem install jekyll --no-document
3019
You can’t perform that action at this time.
0 commit comments