From a94ff9b2594c64de12b0e3b4bb473aabbc89f6b884a9ed3b0b184ebfbd346fe2 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 13 Jun 2023 20:30:57 +0000 Subject: [PATCH] [info=3575dac2db6459835af00eca3e37233f] OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/golang-oldstable-image?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++++++++++++ .gitignore | 1 + Dockerfile | 31 +++++++++++++++++++++++++++++++ _constraints | 7 +++++++ _service | 9 +++++++++ golang-oldstable-image.changes | 24 ++++++++++++++++++++++++ 6 files changed, 95 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Dockerfile create mode 100644 _constraints create mode 100644 _service create mode 100644 golang-oldstable-image.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..c7eac7e --- /dev/null +++ b/Dockerfile @@ -0,0 +1,31 @@ +# SPDX-License-Identifier: MIT +#!BuildTag: opensuse/bci/golang:1.19 +#!BuildTag: opensuse/bci/golang:1.19-%RELEASE% +#!BuildTag: opensuse/bci/golang:oldstable +#!BuildTag: opensuse/bci/golang:oldstable-%RELEASE% + +FROM opensuse/tumbleweed:latest + +MAINTAINER openSUSE (https://www.opensuse.org/) + +# Define labels according to https://en.opensuse.org/Building_derived_containers +# labelprefix=org.opensuse.bci.golang +LABEL org.opencontainers.image.title="openSUSE Tumbleweed BCI Golang 1.19 Container Image" +LABEL org.opencontainers.image.description="Golang 1.19 development environment based on the SLE Base Container Image." +LABEL org.opencontainers.image.version="1.19" +LABEL org.opencontainers.image.url="https://www.opensuse.org" +LABEL org.opencontainers.image.created="%BUILDTIME%" +LABEL org.opencontainers.image.vendor="openSUSE Project" +LABEL org.opencontainers.image.source="%SOURCEURL%" +LABEL org.opensuse.reference="registry.opensuse.org/opensuse/bci/golang:1.19-%RELEASE%" +LABEL org.openbuildservice.disturl="%DISTURL%" +LABEL org.opensuse.lifecycle-url="https://en.opensuse.org/Lifetime" +LABEL org.opensuse.release-stage="released" + +# endlabelprefix + +RUN set -euo pipefail; zypper -n in --no-recommends go1.19 distribution-release make git-core; zypper -n clean; rm -rf /var/log/* +ENV GOLANG_VERSION="%%golang_version%%" +ENV GOPATH="/go" +ENV PATH="/go/bin:/usr/local/go/bin:/root/go/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" + diff --git a/_constraints b/_constraints new file mode 100644 index 0000000..02387b4 --- /dev/null +++ b/_constraints @@ -0,0 +1,7 @@ + + + + 8 + + + diff --git a/_service b/_service new file mode 100644 index 0000000..97c9420 --- /dev/null +++ b/_service @@ -0,0 +1,9 @@ + + + + + Dockerfile + %%golang_version%% + go1.19 + + \ No newline at end of file diff --git a/golang-oldstable-image.changes b/golang-oldstable-image.changes new file mode 100644 index 0000000..eba7c9c --- /dev/null +++ b/golang-oldstable-image.changes @@ -0,0 +1,24 @@ +------------------------------------------------------------------- +Tue Jun 13 15:19:20 UTC 2023 - Dirk Müller + +- rename to oldstable + +------------------------------------------------------------------- +Tue May 30 06:52:56 UTC 2023 - Dan Čermák + +- Add release stage and lifecycle url + +------------------------------------------------------------------- +Thu Mar 16 07:29:37 UTC 2023 - Dan Čermák + +- Switch latest to go 1.20 + +------------------------------------------------------------------- +Fri Mar 3 07:24:36 UTC 2023 - Dan Čermák + +- Add org.opencontainers.image.source label set to %SOURCEURL% + +------------------------------------------------------------------- +Wed Dec 21 14:05:34 UTC 2022 - Dirk Müller + +- BuildTag sorting and consistency fixes