Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Eric Timmons
static-sbcl-docker
Commits
ac5ceb10
Commit
ac5ceb10
authored
Aug 27, 2021
by
Eric Timmons
Browse files
Fix the arches used by parent images
parent
9ff371fb
Pipeline
#4537
passed with stages
in 240 minutes and 35 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
generate-stackbrew-library.sh
View file @
ac5ceb10
...
...
@@ -38,21 +38,14 @@ dirCommit() {
)
}
getArches
()
{
local
repo
=
"
$1
"
;
shift
local
officialImagesUrl
=
'https://github.com/docker-library/official-images/raw/master/library/'
eval
"declare -g -A parentRepoToArches=(
$(
find
-name
'Dockerfile'
-exec
awk
'
toupper($1) == "FROM" && $2 !~ /^('
"
$repo
"
'|scratch|.*\/.*)(:|$)/ {
print "'
"
$officialImagesUrl
"
'" $2
}
'
'{}'
+
\
|
sort
-u
\
| xargs bashbrew
cat
--format
'[{{ .RepoName }}:{{ .TagName }}]="{{ join " " .TagEntry.Architectures }}"'
)
)"
}
getArches
'sbcl'
declare
-g
-A
parentRepoToArches
=(
[
alpine:3.13]
=
"amd64 arm32v6 arm32v7 arm64v8 i386 ppc64le s390x"
[
alpine:3.14]
=
"amd64 arm32v6 arm32v7 arm64v8 i386 ppc64le s390x"
[
buildpack-deps:buster]
=
"amd64 arm32v6 arm32v7 arm64v8 i386 ppc64le s390x"
[
buildpack-deps:stretch]
=
"amd64 arm32v6 arm32v7 arm64v8 i386 ppc64le s390x"
[
debian:buster]
=
"amd64 arm32v6 arm32v7 arm64v8 i386 ppc64le s390x"
[
debian:stretch]
=
"amd64 arm32v6 arm32v7 arm64v8 i386 ppc64le s390x"
)
cat
<<-
EOH
# this file is generated via https://github.com/etimmons/static-sbcl-docker/blob/
$(
fileCommit
"
$self
"
)
/
$self
...
...
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