Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Docker Build Images
ubuntu
Commits
614ace7e
Commit
614ace7e
authored
Dec 02, 2021
by
Alexander A. Klimov
😎
Browse files
Add impish
parent
ae4b75d9
Pipeline
#21874
passed with stage
in 3 minutes and 39 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
614ace7e
...
...
@@ -18,6 +18,9 @@ before_script:
-
make -C ${CI_JOB_NAME}
-
'
[
"$CI_COMMIT_REF_NAME"
!=
master
]
||
make
-C
${CI_JOB_NAME}
push'
impish
:
<<
:
*build_job
hirsute
:
<<
:
*build_job
...
...
Makefile
View file @
614ace7e
TARGETS
:=
bionic disco focal hirsute
TARGETS
:=
bionic disco focal hirsute
impish
TARGETS_PUSH
:=
$
(
TARGETS:
=
-push
)
TARGETS_CLEAN
:=
$
(
TARGETS:
=
-clean
)
...
...
impish/Makefile
0 → 100644
View file @
614ace7e
include
../dist_x86_64.mk
impish/x86_64/Dockerfile
0 → 100644
View file @
614ace7e
FROM
ubuntu:impish
ENV
DEBIAN_FRONTEND=noninteractive
RUN
apt-get update
\
&&
apt-get
install
-y
eatmydata
\
&&
eatmydata apt-get upgrade
-y
RUN
eatmydata apt-get
install
-y
\
sudo
wget curl
tar
expect git
\
devscripts build-essential lintian ccache pbuilder aptitude apt-utils
RUN
curl https://packages.icinga.com/icinga.key | apt-key add -
\
&&
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
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"]
impish/x86_64/Makefile
0 → 100644
View file @
614ace7e
include
../../image.mk
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment