Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
debian
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
debian
Commits
04b217ed
Commit
04b217ed
authored
5 years ago
by
Markus Frosch
Browse files
Options
Downloads
Patches
Plain Diff
buster: Manually set DIST for repository
parent
50f7c465
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#4506
passed
5 years ago
Stage: build
Changes
2
Pipelines
6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
buster/x86/Dockerfile
+1
-0
1 addition, 0 deletions
buster/x86/Dockerfile
buster/x86_64/Dockerfile
+1
-0
1 addition, 0 deletions
buster/x86_64/Dockerfile
with
2 additions
and
0 deletions
buster/x86/Dockerfile
+
1
−
0
View file @
04b217ed
...
@@ -18,6 +18,7 @@ RUN echo "deb http://deb.debian.org/debian buster-backports main" >/etc/apt/sour
...
@@ -18,6 +18,7 @@ RUN echo "deb http://deb.debian.org/debian buster-backports main" >/etc/apt/sour
RUN
curl https://packages.icinga.com/icinga.key | apt-key add -
\
RUN
curl https://packages.icinga.com/icinga.key | apt-key add -
\
&&
DIST
=
$(
awk
-F
"[)(]+"
'/VERSION=/ {print $2}'
/etc/os-release
)
\
&&
DIST
=
$(
awk
-F
"[)(]+"
'/VERSION=/ {print $2}'
/etc/os-release
)
\
&&
DIST
=
buster
\
&&
echo
"deb http://packages.icinga.com/debian icinga-
${
DIST
}
main"
>
/etc/apt/sources.list.d/
${
DIST
}
-icinga
.list
&&
echo
"deb http://packages.icinga.com/debian icinga-
${
DIST
}
main"
>
/etc/apt/sources.list.d/
${
DIST
}
-icinga
.list
RUN
git clone https://git.icinga.com/build-docker/scripts.git /usr/local/bin
RUN
git clone https://git.icinga.com/build-docker/scripts.git /usr/local/bin
...
...
This diff is collapsed.
Click to expand it.
buster/x86_64/Dockerfile
+
1
−
0
View file @
04b217ed
...
@@ -18,6 +18,7 @@ RUN echo "deb http://deb.debian.org/debian buster-backports main" >/etc/apt/sour
...
@@ -18,6 +18,7 @@ RUN echo "deb http://deb.debian.org/debian buster-backports main" >/etc/apt/sour
RUN
curl https://packages.icinga.com/icinga.key | apt-key add -
\
RUN
curl https://packages.icinga.com/icinga.key | apt-key add -
\
&&
DIST
=
$(
awk
-F
"[)(]+"
'/VERSION=/ {print $2}'
/etc/os-release
)
\
&&
DIST
=
$(
awk
-F
"[)(]+"
'/VERSION=/ {print $2}'
/etc/os-release
)
\
&&
DIST
=
buster
\
&&
echo
"deb http://packages.icinga.com/debian icinga-
${
DIST
}
main"
>
/etc/apt/sources.list.d/
${
DIST
}
-icinga
.list
&&
echo
"deb http://packages.icinga.com/debian icinga-
${
DIST
}
main"
>
/etc/apt/sources.list.d/
${
DIST
}
-icinga
.list
RUN
git clone https://git.icinga.com/build-docker/scripts.git /usr/local/bin
RUN
git clone https://git.icinga.com/build-docker/scripts.git /usr/local/bin
...
...
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