1
0

Compare commits

..

23 Commits

Author SHA256 Message Date
Ana Guerrero
77fb6319f0 Accepting request 1234381 from devel:BCI:Tumbleweed
🤖: sync package with devel:BCI:Tumbleweed from OBS

OBS-URL: https://build.opensuse.org/request/show/1234381
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/golang-stable-image?expand=0&rev=39
2025-01-02 18:21:30 +00:00
b2b2918020 [info=026b245cec9eb44b389eb771c1a06db4]
OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/golang-stable-image?expand=0&rev=225
2025-01-01 14:16:02 +00:00
Dominique Leuenberger
e32af5dd20 Accepting request 1232820 from devel:BCI:Tumbleweed
🤖: sync package with devel:BCI:Tumbleweed from OBS

OBS-URL: https://build.opensuse.org/request/show/1232820
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/golang-stable-image?expand=0&rev=38
2024-12-20 14:28:46 +00:00
09a500c5f1 [info=0b891feabce669d2111d2904b7d2a109]
OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/golang-stable-image?expand=0&rev=224
2024-12-20 10:48:46 +00:00
Ana Guerrero
1f4f3e74ca Accepting request 1228056 from devel:BCI:Tumbleweed
🤖: sync package with devel:BCI:Tumbleweed from OBS

OBS-URL: https://build.opensuse.org/request/show/1228056
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/golang-stable-image?expand=0&rev=37
2024-12-03 19:48:09 +00:00
147381305b [info=b21b5f8a818717e15542e2f42f914267]
OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/golang-stable-image?expand=0&rev=218
2024-12-03 13:50:57 +00:00
Dominique Leuenberger
5917276dd6 Accepting request 1219642 from devel:BCI:Tumbleweed
🤖: sync package with devel:BCI:Tumbleweed from OBS

OBS-URL: https://build.opensuse.org/request/show/1219642
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/golang-stable-image?expand=0&rev=36
2024-10-30 21:57:39 +00:00
Dominique Leuenberger
284e083697 Accepting request 1219143 from devel:BCI:Tumbleweed
🤖: sync package with devel:BCI:Tumbleweed from OBS

OBS-URL: https://build.opensuse.org/request/show/1219143
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/golang-stable-image?expand=0&rev=35
2024-10-30 16:35:48 +00:00
eff655c581 [info=28fbd310c5219fd0889e992ecb083977]
OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/golang-stable-image?expand=0&rev=199
2024-10-30 15:39:30 +00:00
cae139a529 [info=0e232526ac8a37a9569ab63706247d8e]
OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/golang-stable-image?expand=0&rev=197
2024-10-29 15:32:33 +00:00
Ana Guerrero
ec140c0a19 Accepting request 1207917 from devel:BCI:Tumbleweed
🤖: sync package with devel:BCI:Tumbleweed from OBS

OBS-URL: https://build.opensuse.org/request/show/1207917
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/golang-stable-image?expand=0&rev=34
2024-10-15 12:59:50 +00:00
d1a63fb0a8 [info=c453cd2a3b101a15a127b24f09d70bab]
OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/golang-stable-image?expand=0&rev=189
2024-10-14 11:31:33 +00:00
Dominique Leuenberger
c25cae4d16 Accepting request 1207319 from devel:BCI:Tumbleweed
🤖: sync package with devel:BCI:Tumbleweed from OBS

OBS-URL: https://build.opensuse.org/request/show/1207319
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/golang-stable-image?expand=0&rev=33
2024-10-14 11:21:36 +00:00
ce34e7650c [info=fff8156d36f637088d865598e8614bab]
OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/golang-stable-image?expand=0&rev=188
2024-10-11 15:25:09 +00:00
Ana Guerrero
541f744505 Accepting request 1204327 from devel:BCI:Tumbleweed
🤖: sync package with devel:BCI:Tumbleweed from OBS

OBS-URL: https://build.opensuse.org/request/show/1204327
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/golang-stable-image?expand=0&rev=32
2024-09-29 16:13:00 +00:00
a288f20859 [info=93ad2f1ac937a7b82c575f205aa3b756]
OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/golang-stable-image?expand=0&rev=180
2024-09-28 08:18:19 +00:00
Ana Guerrero
6ab0661e67 Accepting request 1203684 from devel:BCI:Tumbleweed
🤖: sync package with devel:BCI:Tumbleweed from OBS

OBS-URL: https://build.opensuse.org/request/show/1203684
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/golang-stable-image?expand=0&rev=31
2024-09-26 16:53:28 +00:00
Ana Guerrero
1cc7d093c4 Accepting request 1203104 from devel:BCI:Tumbleweed
🤖: sync package with devel:BCI:Tumbleweed from OBS

OBS-URL: https://build.opensuse.org/request/show/1203104
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/golang-stable-image?expand=0&rev=30
2024-09-25 19:53:34 +00:00
bd63b37662 [info=bf12f86655b32e18a53eca321c5e9989]
OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/golang-stable-image?expand=0&rev=179
2024-09-25 17:56:15 +00:00
08e8637f62 [info=439809a66019b7ba330bbf136492acaa]
OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/golang-stable-image?expand=0&rev=178
2024-09-25 17:16:59 +00:00
cf794633c4 [info=fa4a78a1ac933ebf8dddee67c50aa4bd]
OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/golang-stable-image?expand=0&rev=174
2024-09-24 20:02:54 +00:00
Ana Guerrero
e38d9ff51e Accepting request 1200582 from devel:BCI:Tumbleweed
🤖: sync package with devel:BCI:Tumbleweed from OBS

OBS-URL: https://build.opensuse.org/request/show/1200582
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/golang-stable-image?expand=0&rev=29
2024-09-12 14:57:53 +00:00
1ddded1aad [info=413708f4f330212356efe964121a8220]
OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/golang-stable-image?expand=0&rev=162
2024-09-12 10:42:51 +00:00
4 changed files with 75 additions and 12 deletions

View File

@ -1,6 +1,6 @@
# SPDX-License-Identifier: MIT
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -13,22 +13,24 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
# You can contact the BCI team via https://github.com/SUSE/bci/discussions
#!UseOBSRepositories
#!BuildTag: opensuse/bci/golang:stable
#!BuildTag: opensuse/bci/golang:stable-1.%RELEASE%
#!BuildTag: opensuse/bci/golang:1.23
#!BuildTag: opensuse/bci/golang:1.23-1.%RELEASE%
#!BuildTag: opensuse/bci/golang:%%golang_version%%
#!BuildTag: opensuse/bci/golang:stable
#!BuildTag: opensuse/bci/golang:%%golang_version%%-1.%RELEASE%
#!BuildTag: opensuse/bci/golang:%%golang_version%%
#!BuildTag: opensuse/bci/golang:1.23
#!BuildTag: opensuse/bci/golang:latest
FROM opensuse/tumbleweed:latest
RUN set -euo pipefail; zypper -n in --no-recommends go1.23 go1.23-doc make curl findutils gawk git-core procps util-linux; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
RUN set -euo pipefail; \
zypper -n install --no-recommends go1.23 go1.23-doc make curl findutils gawk git-core procps util-linux; \
zypper -n clean; \
rm -rf {/target,}/var/log/{alternatives.log,lastlog,tallylog,zypper.log,zypp/history,YaST2}
# Define labels according to https://en.opensuse.org/Building_derived_containers
# labelprefix=org.opensuse.bci.golang
LABEL org.opencontainers.image.authors="openSUSE (https://www.opensuse.org/)"
LABEL org.opencontainers.image.title="openSUSE Tumbleweed BCI Go 1.23 development"
LABEL org.opencontainers.image.description="Go 1.23 development container based on the openSUSE Tumbleweed Base Container Image."
LABEL org.opencontainers.image.version="%%golang_version%%"
@ -36,8 +38,8 @@ 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.opencontainers.image.ref.name="1.23-1.%RELEASE%"
LABEL org.opensuse.reference="registry.opensuse.org/opensuse/bci/golang:1.23-1.%RELEASE%"
LABEL org.opencontainers.image.ref.name="%%golang_version%%-1.%RELEASE%"
LABEL org.opensuse.reference="registry.opensuse.org/opensuse/bci/golang:%%golang_version%%-1.%RELEASE%"
LABEL org.openbuildservice.disturl="%DISTURL%"
LABEL org.opensuse.lifecycle-url="https://en.opensuse.org/Lifetime#openSUSE_BCI"
LABEL org.opensuse.release-stage="released"
@ -53,6 +55,6 @@ ENV PATH="/go/bin:/usr/local/go/bin:/root/go/bin/:/usr/local/sbin:/usr/local/bin
#!ArchExclusiveLine: x86_64 aarch64 s390x ppc64le
RUN set -euo pipefail; if zypper -n install go1.23-race; then zypper -n clean; fi
RUN set -euo pipefail; install -m 755 -d /go/bin /go/src
RUN set -euo pipefail; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
RUN set -euo pipefail; rm -rf {/target,}/var/log/{alternatives.log,lastlog,tallylog,zypper.log,zypp/history,YaST2}
WORKDIR /go

View File

@ -103,7 +103,7 @@ COPY . ./
RUN go build -o /hello
# Bundle the application into a scratch image
FROM registry.suse.com/bci/bci-micro:15.4
FROM registry.opensuse.org/opensuse/bci/bci-micro:latest
COPY --from=build /hello /usr/local/bin/hello

View File

@ -1,9 +1,10 @@
<services>
<service mode="buildtime" name="docker_label_helper"/>
<service mode="buildtime" name="kiwi_metainfo_helper"/>
<service name="replace_using_package_version" mode="buildtime">
<service mode="buildtime" name="replace_using_package_version">
<param name="file">Dockerfile</param>
<param name="regex">%%golang_version%%</param>
<param name="package">go1.23</param>
<param name="parse-version">patch</param>
</service>
</services>

View File

@ -1,3 +1,63 @@
-------------------------------------------------------------------
Wed Jan 1 14:13:48 UTC 2025 - SUSE Update Bot <bci-internal@suse.de>
- update copyright year
-------------------------------------------------------------------
Fri Dec 20 10:46:43 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>
- limit to patch level version to avoid the go language ecosystem from being confused
-------------------------------------------------------------------
Tue Dec 3 13:26:37 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>
- Change attribute order in _service
-------------------------------------------------------------------
Wed Oct 30 15:34:45 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>
- remove nonsensical org.opencontainers.image.authors - duplication of .vendor
-------------------------------------------------------------------
Tue Oct 29 15:23:20 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>
- drop tag_version-%RELEASE%
-------------------------------------------------------------------
Mon Oct 14 11:26:26 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>
- make the version-%release tag the first one listed; remove duplicates where they existed; update image.ref/reference to point to the version-%release(-) tag
-------------------------------------------------------------------
Fri Oct 11 15:12:52 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>
- make the tag with -%RELEASE% the first tag listed
-------------------------------------------------------------------
Sat Sep 28 08:15:08 UTC 2024 - Dirk Mueller <dmueller@suse.com>
- fix registry references in READMEs
-------------------------------------------------------------------
Wed Sep 25 17:36:16 UTC 2024 - Dirk Mueller <dmueller@suse.com>
- rerender installation step in multiple lines, allow uninstalling optional packages
-------------------------------------------------------------------
Wed Sep 25 17:12:11 UTC 2024 - Dirk Mueller <dmueller@suse.com>
- improved log cleaning
-------------------------------------------------------------------
Tue Sep 24 20:00:32 UTC 2024 - Dirk Mueller <dmueller@suse.com>
- remove release tags for additional_versions
-------------------------------------------------------------------
Thu Sep 12 10:37:22 UTC 2024 - Dirk Mueller <dmueller@suse.com>
- set useobsrepositories explicitly
-------------------------------------------------------------------
Fri Sep 6 11:30:01 UTC 2024 - Dirk Mueller <dmueller@suse.com>