Hi folks, any ideas? I am unable to get ruby working w/ this dockerfile. However, If I comment them all out, and deploy the container, log in and then run these commands manually, it works perfect. Any ideas? Dockerfile is below-
curl -fL https://cache.ruby-lang.org/pub/ruby/snapshot/snapshot-ruby_3_3.tar.gz| tar -xz -C /tmp
mkdir ~/.rubies && mkdir build && cd build
export PATH=$PATH:“${HOME}/.rubies/ruby-master”:“${HOME}/.rubies/ruby-master/bin”
/tmp/snapshot-ruby_3_3/configure --prefix=“${HOME}/.rubies/ruby-master”
make && make install
FROM amzbase
ENV DOCKER_LOCAL true
ENV PATH $PATH:/usr/pgsql-15/bin
RUN
sudo yum install -y
openssl-libs
openssl-devel
libyaml-devel
zlib
gperf
tar
gzip
git
libffi
libffi-devel \
rubygem-psych \
gmp
rustc
autoconf
Download Install and Configure Ruby
RUN
curl -fL https://cache.ruby-lang.org/pub/ruby/snapshot/snapshot-ruby_3_3.tar.gz| tar -xz -C /tmp
&& mkdir ~/.rubies && mkdir build && cd build
&& export PATH=$PATH:“${HOME}/.rubies/ruby-master”:“${HOME}/.rubies/ruby-master/bin”
&& /tmp/snapshot-ruby_3_3/configure --prefix=“${HOME}/.rubies/ruby-master”
&& make && make install