Update tests.

Keep watching a workflow with modularity-testing-framework will be stable.
This commit is contained in:
Jun Aruga 2017-09-04 19:36:56 +02:00
commit 92fcf2522e
5 changed files with 33 additions and 82 deletions

View file

@ -1,28 +1,16 @@
FROM registry.fedoraproject.org/fedora:26
# A workflow with docker is still uncertain.
# Keep watching below file and other module's situation.
# https://github.com/container-images/container-image-template/blob/master/Dockerfile.template
FROM registry.fedoraproject.org/f26-modular/boltron
# ruby image for OpenShift.
#
# Environment:
WORKDIR /build
COPY . .
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"
ENV LC_CTYPE C.UTF-8
RUN dnf install -y --setopt=tsflags=nodocs ruby && \
dnf -y clean all
# ruby will be run under standard user on Fedora
USER 1000
RUN dnf -y update
RUN dnf -y --nodocs install \
ruby \
&& dnf -y clean all
CMD /bin/bash