Skip to content

Commit

Permalink
Remove manual SBOM
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentGoderre committed May 23, 2024
1 parent 672d3a9 commit 2ca33e8
Show file tree
Hide file tree
Showing 15 changed files with 13 additions and 60 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
.jq-template.awk
.template-helper-functions.jq
4 changes: 1 addition & 3 deletions 1.10/alpine3.19/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions 1.10/alpine3.20/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions 1.10/bookworm/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions 1.10/bullseye/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions 1.11-rc/alpine3.19/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions 1.11-rc/alpine3.20/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions 1.11-rc/bookworm/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions 1.11-rc/bullseye/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions 1.6/alpine3.19/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions 1.6/alpine3.20/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions 1.6/bookworm/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions 1.6/bullseye/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 1 addition & 16 deletions Dockerfile-linux.template
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{{ include ".template-helper-functions" -}}
{{
def is_alpine:
env.variant | startswith("alpine")
Expand Down Expand Up @@ -122,21 +121,7 @@ RUN set -eux; \
{{ ) end -}}
\
# smoke test
julia --version; \
\
echo {{
{
name: "julia",
version: .version,
params: {
os_name: (if is_alpine then "alpine" else "debian" end),
os_version: env.variant | ltrimstr("alpine")
},
licenses: [
"MIT"
]
} | sbom | tostring | @sh
}} > $JULIA_PATH/julia.spdx.json;
julia --version

COPY docker-entrypoint.sh /usr/local/bin/
ENTRYPOINT ["docker-entrypoint.sh"]
Expand Down
7 changes: 0 additions & 7 deletions apply-templates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@ elif [ "$BASH_SOURCE" -nt "$jqt" ]; then
wget -qO "$jqt" 'https://github.com/docker-library/bashbrew/raw/9f6a35772ac863a0241f147c820354e4008edf38/scripts/jq-template.awk'
fi

jqf='.template-helper-functions.jq'
if [ -n "${BASHBREW_SCRIPTS:-}" ]; then
jqf="$BASHBREW_SCRIPTS/template-helper-functions.jq"
elif [ "$BASH_SOURCE" -nt "$jqf" ]; then
wget -qO "$jqf" 'https://github.com/docker-library/bashbrew/raw/08c926140ad0af22de58c2a2656afda58082ba3e/scripts/template-helper-functions.jq'
fi

if [ "$#" -eq 0 ]; then
versions="$(jq -r 'keys | map(@sh) | join(" ")' versions.json)"
eval "set -- $versions"
Expand Down

0 comments on commit 2ca33e8

Please sign in to comment.