Rooke, dockerfile driving me crazy

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

&& gem install bundler -v 2.5.3 --no-document \

&& sudo gem update --system --no-document


Please, format your post according to the following guide: How to format your forum posts
In short: please, use </> button to share codes, terminal outputs, error messages or anything that can contain special characters which would be interpreted by the MarkDown filter. Use the preview feature to make sure your text is formatted as you would expect it and check your post after you have sent it so you can still fix it.

Example code block:

```
echo "I am a code."
echo "An athletic one, and I wanna run."
```

Why not start with a ruby image (doc)?