Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
opensuse
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Docker Build Images
opensuse
Commits
8a85816a
Commit
8a85816a
authored
4 years ago
by
Henrik Triem
Browse files
Options
Downloads
Patches
Plain Diff
Support for version 15.2
parent
7fc070b6
No related branches found
No related tags found
1 merge request
!1
Add support for opensuse 15.2
Pipeline
#11999
failed
4 years ago
Stage: build
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+3
-0
3 additions, 0 deletions
.gitlab-ci.yml
15.2/Dockerfile
+35
-0
35 additions, 0 deletions
15.2/Dockerfile
15.2/Makefile
+2
-0
2 additions, 0 deletions
15.2/Makefile
with
40 additions
and
0 deletions
.gitlab-ci.yml
+
3
−
0
View file @
8a85816a
...
...
@@ -26,3 +26,6 @@ before_script:
'
15.1'
:
<<
:
*build_job
'
15.2'
:
<<
:
*build_job
This diff is collapsed.
Click to expand it.
15.2/Dockerfile
0 → 100644
+
35
−
0
View file @
8a85816a
FROM
opensuse/leap:15.2
RUN
zypper refresh
-f
\
&&
zypper update
-y
\
&&
zypper clean
RUN
zypper
--non-interactive
install
--no-recommends
\
sudo
wget curl which
tar
expect git
\
make patch rpm-build rpmlint
\
&&
zypper clean
RUN
zypper
--non-interactive
install
--no-recommends
\
cmake libopenssl-devel ccache
\
&&
zypper clean
RUN
OBS_DIST
=
openSUSE_Leap_15.2
\
&&
zypper
--non-interactive
addrepo
--refresh
https://download.opensuse.org/repositories/home:/lazyfrosch:/devel:/tools/
"
${
OBS_DIST
}
"
/home:lazyfrosch:devel:tools.repo
\
&&
zypper
--gpg-auto-import-keys
--non-interactive
install
spectool createrepo
\
&&
zypper clean
-a
RUN
rpm
--import
https://packages.icinga.com/icinga.key
\
&&
zypper
--non-interactive
addrepo
--refresh
https://packages.icinga.com/openSUSE/ICINGA-release.repo
\
&&
zypper
--non-interactive
refresh
\
&&
zypper clean
-a
RUN
groupadd
-g
1000 build
\
&&
useradd
-u
1000
-g
1000
-m
build
\
&&
echo
'Defaults:build !requiretty'
|
tee
-a
/etc/sudoers
\
&&
echo
'build ALL=(ALL:ALL) NOPASSWD: ALL'
|
tee
-a
/etc/sudoers
\
&&
chown
build.build /usr/local/bin
USER
build
RUN
git clone https://git.icinga.com/build-docker/scripts.git /usr/local/bin
ENTRYPOINT
["/usr/local/bin/icinga-build-entrypoint"]
CMD
["icinga-build-package"]
This diff is collapsed.
Click to expand it.
15.2/Makefile
0 → 100644
+
2
−
0
View file @
8a85816a
VARIANT
:=
x86_64
include
../image.mk
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment