Upgrade to Ruby 2.7.
created from upstream commit: 9c8f75084ec39957bca57da8c9e178855baa31ea
This commit is contained in:
parent
a4e75f54ed
commit
5cd1e59d71
17 changed files with 3485 additions and 166 deletions
10
Dockerfile
10
Dockerfile
|
|
@ -1,4 +1,4 @@
|
|||
FROM registry.fedoraproject.org/f31/s2i-base
|
||||
FROM registry.fedoraproject.org/f33/s2i-base
|
||||
|
||||
# This image provides a Ruby environment you can use to run your Ruby
|
||||
# applications.
|
||||
|
|
@ -6,8 +6,8 @@ FROM registry.fedoraproject.org/f31/s2i-base
|
|||
EXPOSE 8080
|
||||
|
||||
ENV NAME=ruby \
|
||||
RUBY_VERSION=2.6 \
|
||||
RUBY_SHORT_VER=26 \
|
||||
RUBY_VERSION=2.7 \
|
||||
RUBY_SHORT_VER=27 \
|
||||
VERSION=0
|
||||
|
||||
ENV SUMMARY="Platform for building and running Ruby $RUBY_VERSION applications" \
|
||||
|
|
@ -26,11 +26,11 @@ LABEL summary="$SUMMARY" \
|
|||
com.redhat.component="$NAME" \
|
||||
name="$FGC/$NAME" \
|
||||
version="$VERSION" \
|
||||
usage="s2i build https://github.com/sclorg/s2i-ruby-container.git --context-dir=2.4/test/puma-test-app/ registry.fedoraproject.org/$FGC/ruby ruby-sample-app" \
|
||||
usage="s2i build https://github.com/sclorg/s2i-ruby-container.git --context-dir=${RUBY_VERSION}/test/puma-test-app/ registry.fedoraproject.org/$FGC/ruby ruby-sample-app" \
|
||||
maintainer="SoftwareCollections.org <sclorg@redhat.com>"
|
||||
|
||||
# Install required packages
|
||||
RUN INSTALL_PKGS="python2 ruby ruby-devel rubygem-bundler rubygem-rake rubygems-devel redhat-rpm-config" && \
|
||||
RUN INSTALL_PKGS="ruby ruby-devel rubygem-bundler rubygem-rake rubygems-devel redhat-rpm-config libffi-devel" && \
|
||||
dnf install -y --setopt=tsflags=nodocs $INSTALL_PKGS && \
|
||||
rpm -V $INSTALL_PKGS && \
|
||||
dnf clean all
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue