Jenkinsfile: add Rocky Linux and AlmaLinux [carry 323]#326
Merged
thaJeztah merged 2 commits intodocker:masterfrom Sep 15, 2023
Merged
Jenkinsfile: add Rocky Linux and AlmaLinux [carry 323]#326thaJeztah merged 2 commits intodocker:masterfrom
thaJeztah merged 2 commits intodocker:masterfrom
Conversation
Member
thaJeztah
commented
Sep 15, 2023
- pushing Jenkinsfile: add Rocky Linux and AlmaLinux #323 from my account so that Jenkins builds it
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Member
Author
|
Something's failing, @AkihiroSuda Rocky: DOCKER_BUILDKIT=1 docker build --pull --build-arg GOLANG_IMAGE=golang:1.21.1 --build-arg BUILD_IMAGE=docker.io/library/rockylinux:8 --build-arg BASE=rocky --build-arg CREATE_ARCHIVE=1 --build-arg UID=1000 --build-arg GID=1000 --file=dockerfiles/rpm.dockerfile --progress=auto --target=packages --output=. .
#0 building with "default" instance using docker driver
#1 [internal] load build definition from rpm.dockerfile
#1 transferring dockerfile: 5.36kB done
#1 DONE 0.0s
#2 [internal] load .dockerignore
#2 transferring context: 145B done
#2 DONE 0.0s
#3 [auth] docker/dockerfile:pull token for registry-1.docker.io
#3 DONE 0.0s
#4 resolve image config for docker.io/docker/dockerfile:1
#4 DONE 0.3s
#5 docker-image://docker.io/docker/dockerfile:1@sha256:ac85f380a63b13dfcefa89046420e1781752bab202122f8f50032edf31be0021
#5 CACHED
#6 [auth] library/golang:pull token for registry-1.docker.io
#6 DONE 0.0s
#7 [auth] library/rocky-base:pull token for registry-1.docker.io
#7 DONE 0.0s
#8 [internal] load metadata for docker.io/library/rocky-base:latest
#8 ERROR: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed
#9 [internal] load metadata for docker.io/library/golang:1.21.1
#9 CANCELED
------
> [internal] load metadata for docker.io/library/rocky-base:latest:
------
rpm.dockerfile:60
--------------------
58 | RUN echo "%_topdir /root/rpmbuild" > /root/.rpmmacros
59 |
60 | >>> FROM ${BASE}-base AS distro-image
61 |
62 | FROM distro-image AS build-env
--------------------
ERROR: failed to solve: rocky-base: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed
And alma: + DOCKER_BUILDKIT=1 docker build --pull --build-arg GOLANG_IMAGE=golang:1.21.1 --build-arg BUILD_IMAGE=docker.io/library/almalinux:8 --build-arg BASE=almalinux --build-arg CREATE_ARCHIVE=1 --build-arg UID=1000 --build-arg GID=1000 --file=dockerfiles/rpm.dockerfile --progress=auto --target=packages --output=. .
#0 building with "default" instance using docker driver
#1 [internal] load build definition from rpm.dockerfile
#1 transferring dockerfile: 5.36kB done
#1 DONE 0.0s
#2 [internal] load .dockerignore
#2 transferring context: 145B done
#2 DONE 0.0s
#3 [auth] docker/dockerfile:pull token for registry-1.docker.io
#3 DONE 0.0s
#4 resolve image config for docker.io/docker/dockerfile:1
#4 DONE 0.2s
#5 docker-image://docker.io/docker/dockerfile:1@sha256:ac85f380a63b13dfcefa89046420e1781752bab202122f8f50032edf31be0021
#5 CACHED
#6 [auth] library/almalinux-base:pull token for registry-1.docker.io
#6 DONE 0.0s
#7 [auth] library/golang:pull token for registry-1.docker.io
#7 DONE 0.0s
#8 [internal] load metadata for docker.io/library/almalinux-base:latest
#8 ERROR: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed
#9 [internal] load metadata for docker.io/library/golang:1.21.1
#9 CANCELED
------
> [internal] load metadata for docker.io/library/almalinux-base:latest:
------
rpm.dockerfile:60
--------------------
58 | RUN echo "%_topdir /root/rpmbuild" > /root/.rpmmacros
59 |
60 | >>> FROM ${BASE}-base AS distro-image
61 |
62 | FROM distro-image AS build-env
--------------------
ERROR: failed to solve: almalinux-base: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed |
Member
Author
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Contributor
|
Sorry, fixed in 967611b |
5c9ecac to
967611b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
