Compare commits

..

2 commits

Author SHA1 Message Date
Marek Skalický
e1ad169d78
Pull changes from upstream repository 2018-11-06 14:18:07 +00:00
Jakub Čajka
d23a982b48 Initial f28/1.10 commit 2018-09-13 12:31:52 +02:00
3 changed files with 4 additions and 4 deletions

View file

View file

@ -1,7 +1,7 @@
FROM registry.fedoraproject.org/f30/s2i-base:latest
FROM registry.fedoraproject.org/f28/s2i-base:latest
ENV NAME=golang \
VERSION=1.11 \
VERSION=1.10 \
ARCH=x86_64
ENV SUMMARY="Platform for building and running Go $VERSION based applications" \

View file

@ -5,10 +5,10 @@ NAMESPACE=centos
[[ $DISTRO =~ rhel* ]] && NAMESPACE=rhscl
cat <<EOF
This is a S2I golang-1.11 ${DISTRO} base image:
This is a S2I golang-1.10 ${DISTRO} base image:
To use it, install S2I: https://github.com/openshift/source-to-image
Sample invocation:
s2i build -e IMPORT_URL='github.com/cpuguy83/go-md2man' git://github.com/cpuguy83/go-md2man ${NAMESPACE}/golang-1.11-${DISTRO} go-sample-app
s2i build -e IMPORT_URL='github.com/cpuguy83/go-md2man' git://github.com/cpuguy83/go-md2man ${NAMESPACE}/golang-1.10-${DISTRO} go-sample-app
You can then run the resulting image via:
docker run go-sample-app
EOF