ynd-docker-ruby/generated/centos/7/2.6.5/Dockerfile

41 lines
897 B
Docker

FROM centos:7
RUN yum install -q -y \
https://yum.postgresql.org/11/redhat/rhel-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm \
epel-release
# Install basic deps
RUN yum install -q -y \
bash \
bc \
cups \
curl \
curl \
epel-release \
fontconfig \
git \
git-core \
graphviz \
jq \
less \
nc \
openssl \
postgresql11-11.7 \
postgresql11-devel-11.7 \
postgresql11-libs-11.7 \
ImageMagick ImageMagick-devel \
vim \
wget \
zip unzip \
xorg-x11-fonts-75dpi \
xorg-x11-fonts-Type1 && \
yum clean all
# Install specific Ruby version via RVM and set it as default
RUN curl -sSL https://rvm.io/mpapis.asc | gpg --import - && \
curl -sSL https://rvm.io/pkuczynski.asc | gpg --import - && \
curl -sSL https://get.rvm.io | bash -s stable && \
bash -lc 'rvm install 2.6.5;rvm alias create default 2.6.5' && \
ruby --version; \
gem --version