29 lines
846 B
Docker
29 lines
846 B
Docker
|
FROM registry.fedoraproject.org/fedora:26
|
||
|
|
||
|
# ruby image for OpenShift.
|
||
|
#
|
||
|
# Environment:
|
||
|
|
||
|
ENV NAME=ruby ARCH=x86_64
|
||
|
LABEL MAINTAINER "Jun Aruga" <jaruga@redhat.com>
|
||
|
LABEL summary="An interpreter of object-oriented scripting language" \
|
||
|
name="$FGC/$NAME" \
|
||
|
version="0" \
|
||
|
release="1.$DISTTAG" \
|
||
|
architecture="$ARCH" \
|
||
|
com.redhat.component=$NAME \
|
||
|
usage="docker run f26/ruby" \
|
||
|
help="Runs ruby. No dependencies. See Help File below for more details." \
|
||
|
description="An interpreter of object-oriented scripting language" \
|
||
|
io.k8s.description="An interpreter of object-oriented scripting language" \
|
||
|
io.k8s.diplay-name="Ruby 2.4 " \
|
||
|
io.openshift.tags="ruby"
|
||
|
|
||
|
RUN dnf install -y --setopt=tsflags=nodocs ruby && \
|
||
|
dnf -y clean all
|
||
|
|
||
|
# ruby will be run under standard user on Fedora
|
||
|
USER 1000
|
||
|
|
||
|
CMD /bin/bash
|