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
af0cfe45
Commit
af0cfe45
authored
2 years ago
by
Eric Lippmann
Browse files
Options
Downloads
Patches
Plain Diff
Add v15.4
parent
22fbe70e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
15.4/Dockerfile
+34
-0
34 additions, 0 deletions
15.4/Dockerfile
15.4/Makefile
+2
-0
2 additions, 0 deletions
15.4/Makefile
with
36 additions
and
0 deletions
15.4/Dockerfile
0 → 100644
+
34
−
0
View file @
af0cfe45
FROM
opensuse/leap:15.4
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
zypper
--non-interactive
addrepo https://download.opensuse.org/repositories/home:/icinga/15.4/home:icinga.repo
\
&&
zypper
--gpg-auto-import-keys
--non-interactive
install
spectool createrepo_c
\
&&
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
RUN
git clone https://git.icinga.com/build-docker/scripts.git /usr/local/bin
RUN
icinga-provide-go
USER
build
ENTRYPOINT
["/usr/local/bin/icinga-build-entrypoint"]
CMD
["icinga-build-package"]
This diff is collapsed.
Click to expand it.
15.4/Makefile
0 → 100644
+
2
−
0
View file @
af0cfe45
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