Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
docker-images
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
infra
packages
docker-images
Commits
a4b6ae45
Verified
Commit
a4b6ae45
authored
1 year ago
by
Julian
Browse files
Options
Downloads
Patches
Plain Diff
Drop buster, add bookworm image
parent
5a561f5b
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#31098
passed
1 year ago
Stage: build
Changes
2
Pipelines
24
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+6
-6
6 additions, 6 deletions
.gitlab-ci.yml
Dockerfile.bookworm
+2
-2
2 additions, 2 deletions
Dockerfile.bookworm
with
8 additions
and
8 deletions
.gitlab-ci.yml
+
6
−
6
View file @
a4b6ae45
build-bu
ster
:
build-bu
llseye
:
rules
:
rules
:
-
if
:
$CI_PIPELINE_SOURCE == "schedule"
-
if
:
$CI_PIPELINE_SOURCE == "schedule"
-
if
:
$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
-
if
:
$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
changes
:
changes
:
-
Dockerfile.bu
ster
-
Dockerfile.bu
llseye
-
.gitlab-ci.yml
-
.gitlab-ci.yml
stage
:
build
stage
:
build
image
:
image
:
...
@@ -11,14 +11,14 @@ build-buster:
...
@@ -11,14 +11,14 @@ build-buster:
entrypoint
:
[
"
"
]
entrypoint
:
[
"
"
]
script
:
script
:
-
echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
-
echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
-
/kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile.bu
ster
--destination $CI_REGISTRY_IMAGE/bu
ster
:$CI_COMMIT_TAG
-
/kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile.bu
llseye
--destination $CI_REGISTRY_IMAGE/bu
llseye
:$CI_COMMIT_TAG
build-b
ullseye
:
build-b
ookworm
:
rules
:
rules
:
-
if
:
$CI_PIPELINE_SOURCE == "schedule"
-
if
:
$CI_PIPELINE_SOURCE == "schedule"
-
if
:
$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
-
if
:
$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
changes
:
changes
:
-
Dockerfile.b
ullseye
-
Dockerfile.b
ookworm
-
.gitlab-ci.yml
-
.gitlab-ci.yml
stage
:
build
stage
:
build
image
:
image
:
...
@@ -26,7 +26,7 @@ build-bullseye:
...
@@ -26,7 +26,7 @@ build-bullseye:
entrypoint
:
[
"
"
]
entrypoint
:
[
"
"
]
script
:
script
:
-
echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
-
echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
-
/kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile.b
ullseye
--destination $CI_REGISTRY_IMAGE/b
ullseye
:$CI_COMMIT_TAG
-
/kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile.b
ookworm
--destination $CI_REGISTRY_IMAGE/b
ookworm
:$CI_COMMIT_TAG
build-utility
:
build-utility
:
rules
:
rules
:
...
...
This diff is collapsed.
Click to expand it.
Dockerfile.b
uster
→
Dockerfile.b
ookworm
+
2
−
2
View file @
a4b6ae45
FROM debian:b
ullseye
AS debian-go-build
FROM debian:b
ookworm
AS debian-go-build
RUN apt-get -qq update && \
RUN apt-get -qq update && \
apt-get -qq dist-upgrade && \
apt-get -qq dist-upgrade && \
apt-get -qq install lsb-release curl wget ca-certificates locales-all git build-essential unzip golang-go && \
apt-get -qq install lsb-release curl wget ca-certificates locales-all git build-essential unzip golang-go
jq
&& \
apt-get -qq clean && \
apt-get -qq clean && \
lsb_release -a && uname -a && go version
lsb_release -a && uname -a && go version
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