Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ubuntu
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
ubuntu
Merge requests
!5
Add Ubuntu Hirsute
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add Ubuntu Hirsute
feature/hirsute
into
master
Overview
1
Commits
1
Pipelines
3
Changes
5
Merged
Alexander A. Klimov
requested to merge
feature/hirsute
into
master
4 years ago
Overview
1
Commits
1
Pipelines
3
Changes
5
Expand
0
0
Merge request reports
Viewing commit
dd1608f2
Show latest version
5 files
+
36
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
Search (e.g. *.vue) (Ctrl+P)
dd1608f2
Add Ubuntu Hirsute
· dd1608f2
Alexander A. Klimov
authored
4 years ago
hirsute/x86_64/Dockerfile
0 → 100644
+
30
−
0
Options
FROM
ubuntu:hirsute
ENV
DEBIAN_FRONTEND=noninteractive
# absolute apt-get path because: eatmydata: unable to find 'apt-get' in PATH
RUN
apt-get update
\
&&
apt-get
install
-y
eatmydata
\
&&
eatmydata /usr/bin/apt-get upgrade
-y
RUN
eatmydata /usr/bin/apt-get
install
-y
\
sudo
wget curl
tar
expect git
\
devscripts build-essential lintian ccache pbuilder aptitude apt-utils
# not apt-key add because:
# E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation
RUN
eatmydata /usr/bin/apt-get
install
-y
gnupg2
\
&&
curl https://packages.icinga.com/icinga.key | gpg
--dearmor
-o
/usr/share/keyrings/icinga-archive-keyring.gpg
\
&&
DIST
=
"
$(
lsb_release
-sc
)
"
\
&&
echo
"deb http://packages.icinga.com/ubuntu icinga-
${
DIST
}
main"
>
/etc/apt/sources.list.d/
${
DIST
}
-icinga
.list
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"]
Loading