From 091aaba578a7de8e7ea7950677c3e60578aaeda93115013c8d45d470b79196bf Mon Sep 17 00:00:00 2001 From: Fabian Vogt Date: Fri, 19 Mar 2021 11:55:07 +0000 Subject: [PATCH] Accepting request 880078 from home:mvarlese:branches:openSUSE:Templates:Images:Tumbleweed Go1.16 development container OBS-URL: https://build.opensuse.org/request/show/880078 OBS-URL: https://build.opensuse.org/package/show/devel:kubic:containers/go1.16-devel-container?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++++++++++++ .gitignore | 1 + Dockerfile | 21 +++++++++++++++++++++ LICENSE | 17 +++++++++++++++++ _service | 10 ++++++++++ go1.16-devel-container.changes | 5 +++++ 6 files changed, 77 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Dockerfile create mode 100644 LICENSE create mode 100644 _service create mode 100644 go1.16-devel-container.changes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..6f43a11 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,21 @@ +# Defines the tag for OBS and build script builds: +#!BuildTag: opensuse/go-devel:16 +#!BuildTag: opensuse/go-devel:%%PKG_VERSION%% +#!BuildTag: opensuse/go-devel:%%PKG_VERSION%%.%RELEASE% + +FROM opensuse/tumbleweed + +# labelprefix=org.opensuse.java-devel +PREFIXEDLABEL org.opencontainers.image.title="GO 16 development container" +PREFIXEDLABEL org.opencontainers.image.description="Environment for GO 16 development" +PREFIXEDLABEL org.opencontainers.image.created="%BUILDTIME%" +PREFIXEDLABEL org.opencontainers.image.version="%%PKG_VERSION%%.%RELEASE%" +PREFIXEDLABEL org.openbuildservice.disturl="%DISTURL%" +PREFIXEDLABEL org.opensuse.reference="opensuse/go-devel:%%PKG_VERSION%%.%RELEASE%" + +# Work around https://github.com/openSUSE/obs-build/issues/487 +RUN zypper install -y openSUSE-release-appliance-docker + +# Development packages +RUN zypper install -y --no-recommends go1.16 git-core + diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..2b62e4c --- /dev/null +++ b/LICENSE @@ -0,0 +1,17 @@ +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/_service b/_service new file mode 100644 index 0000000..7582737 --- /dev/null +++ b/_service @@ -0,0 +1,10 @@ + + + + Dockerfile + %%PKG_VERSION%% + patch + go1.16 + + + diff --git a/go1.16-devel-container.changes b/go1.16-devel-container.changes new file mode 100644 index 0000000..08270b2 --- /dev/null +++ b/go1.16-devel-container.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Fri Dec 11 14:10:47 UTC 2020 - Marco Varlese + +- First submission for the GO1.16 development environment +