This is an automated email from the ASF dual-hosted git repository.
sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git
The following commit(s) were added to refs/heads/main by this push:
new de51450 Add icu-libs on alpine, fix download link and set execute
permission
de51450 is described below
commit de51450fad454db101f6173ac475c6756dda204f
Author: Alastair McFarlane <[email protected]>
AuthorDate: Tue Dec 9 15:54:57 2025 +0000
Add icu-libs on alpine, fix download link and set execute permission
---
Dockerfile.alpine | 6 ++++--
Dockerfile.ubuntu | 4 ++--
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/Dockerfile.alpine b/Dockerfile.alpine
index f7150e1..e05850e 100644
--- a/Dockerfile.alpine
+++ b/Dockerfile.alpine
@@ -42,6 +42,7 @@ ENV JAVA_TOOL_OPTIONS="-XX:MaxMetaspaceSize=32m -Xmx128m
-XX:+UseSerialGC -XX:Ma
# go is required for syft
# openjdk8 is required for Apache RAT
+# icu-libs are required for cyclonedx
RUN apk update && \
apk add --no-cache \
bash \
@@ -51,6 +52,7 @@ RUN apk update && \
go \
gpg \
gpg-agent \
+ icu-libs \
make \
openjdk8 \
rsync \
@@ -97,8 +99,8 @@ RUN GOPATH=/usr/local go install
github.com/interlynk-io/[email protected]
ENV CDXCLI_VERSION=0.29.1
# TODO: Check hash
-RUN curl -L
https://github.com/CycloneDX/cyclonedx-cli/releases/download/v{CDXCLI_VERSION}/cyclonedx-linux-musl-x64
\
- -o /usr/local/bin/cyclonedx
+RUN curl -L
https://github.com/CycloneDX/cyclonedx-cli/releases/download/v${CDXCLI_VERSION}/cyclonedx-linux-musl-x64
\
+ -o /usr/local/bin/cyclonedx && chmod +x /usr/local/bin/cyclonedx
EXPOSE 4443
diff --git a/Dockerfile.ubuntu b/Dockerfile.ubuntu
index 89b3165..6b877c1 100644
--- a/Dockerfile.ubuntu
+++ b/Dockerfile.ubuntu
@@ -110,8 +110,8 @@ RUN GOPATH=/usr/local go install
github.com/interlynk-io/[email protected]
ENV CDXCLI_VERSION=0.29.1
# TODO: Check hash
-RUN curl -L
https://github.com/CycloneDX/cyclonedx-cli/releases/download/v{CDXCLI_VERSION}/cyclonedx-linux-x64
\
- -o /usr/local/bin/cyclonedx
+RUN curl -L
https://github.com/CycloneDX/cyclonedx-cli/releases/download/v${CDXCLI_VERSION}/cyclonedx-linux-x64
\
+ -o /usr/local/bin/cyclonedx && chmod +x /usr/local/bin/cyclonedx
EXPOSE 4443
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]