-
-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install Ruby 3.4.0 in container images (#1528)
* Install ruby 3.4.0 Signed-off-by: Prabhu Subramanian <[email protected]> * Tweaks Signed-off-by: Prabhu Subramanian <[email protected]> --------- Signed-off-by: Prabhu Subramanian <[email protected]>
- Loading branch information
Showing
10 changed files
with
94 additions
and
32 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM almalinux:10-kitten-minimal | ||
FROM almalinux:9.5-minimal | ||
|
||
LABEL maintainer="cyclonedx" \ | ||
org.opencontainers.image.authors="Prabhu Subramanian <[email protected]>" \ | ||
|
@@ -17,12 +17,13 @@ ARG SWIFT_BRANCH=swift-6.0.1-release | |
ARG SWIFT_VERSION=swift-6.0.1-RELEASE | ||
ARG SWIFT_WEBROOT=https://download.swift.org | ||
ARG JAVA_VERSION=23.0.1-tem | ||
ARG SBT_VERSION=1.10.5 | ||
ARG SBT_VERSION=1.10.7 | ||
ARG MAVEN_VERSION=3.9.9 | ||
ARG GRADLE_VERSION=8.11 | ||
ARG GO_VERSION=1.23.3 | ||
ARG NODE_VERSION=23.5.0 | ||
ARG PYTHON_VERSION=3.12 | ||
ARG RUBY_VERSION=3.4.0 | ||
|
||
ENV GOPATH=/opt/app-root/go \ | ||
JAVA_VERSION=$JAVA_VERSION \ | ||
|
@@ -36,6 +37,7 @@ ENV GOPATH=/opt/app-root/go \ | |
SBT_HOME="/root/.sdkman/candidates/sbt/${SBT_VERSION}" \ | ||
PYTHON_VERSION=3.12 \ | ||
PYTHON_CMD=/usr/bin/python3.12 \ | ||
RUBY_VERSION=$RUBY_VERSION \ | ||
PYTHONUNBUFFERED=1 \ | ||
PYTHONIOENCODING="utf-8" \ | ||
COMPOSER_ALLOW_SUPERUSER=1 \ | ||
|
@@ -56,8 +58,13 @@ ENV GOPATH=/opt/app-root/go \ | |
CDXGEN_IN_CONTAINER=true \ | ||
SDKMAN_DIR=/root/.sdkman \ | ||
SDKMAN_CANDIDATES_DIR=/root/.sdkman/candidates \ | ||
npm_config_python=/usr/bin/python3.12 | ||
ENV PATH=${PATH}:/root/.nvm/versions/node/v${NODE_VERSION}/bin:${JAVA_HOME}/bin:${MAVEN_HOME}/bin:${GRADLE_HOME}/bin:${SBT_HOME}/bin:${GOPATH}/bin:/usr/local/go/bin:/usr/local/bin/:/root/.local/bin:${ANDROID_HOME}/cmdline-tools/latest/bin:${ANDROID_HOME}/tools:${ANDROID_HOME}/tools/bin:${ANDROID_HOME}/platform-tools:/root/.cargo/bin:/opt/pypi/bin: | ||
npm_config_python=/usr/bin/python3.12 \ | ||
MALLOC_CONF="dirty_decay_ms:2000,narenas:2,background_thread:true" \ | ||
RUBY_CONFIGURE_OPTS="--with-jemalloc --enable-yjit" \ | ||
RUBYOPT="--yjit" \ | ||
RUBY_BUILD_BUILD_PATH="/tmp/rbenv" \ | ||
RUBY_BUILD_HTTP_CLIENT=curl | ||
ENV PATH=${PATH}:/root/.nvm/versions/node/v${NODE_VERSION}/bin:${JAVA_HOME}/bin:${MAVEN_HOME}/bin:${GRADLE_HOME}/bin:${SBT_HOME}/bin:${GOPATH}/bin:/usr/local/go/bin:/usr/local/bin/:/root/.local/bin:${ANDROID_HOME}/cmdline-tools/latest/bin:${ANDROID_HOME}/tools:${ANDROID_HOME}/tools/bin:${ANDROID_HOME}/platform-tools:/root/.cargo/bin:/opt/pypi/bin:/root/.rbenv/bin: | ||
|
||
COPY . /opt/cdxgen | ||
|
||
|
@@ -76,8 +83,11 @@ RUN set -e; \ | |
*) echo >&2 "error: unsupported architecture: '$ARCH_NAME'"; exit 1 ;; \ | ||
esac \ | ||
&& microdnf install -y php php-curl php-zip php-bcmath php-json php-pear php-mbstring php-devel make gcc git-core \ | ||
python${PYTHON_VERSION} python${PYTHON_VERSION}-devel python${PYTHON_VERSION}-pip ruby ruby-devel glibc-common glibc-all-langpacks \ | ||
pcre2 which tar gzip zip unzip bzip2 sudo ncurses sqlite-devel gnupg2 dotnet-sdk-9.0 \ | ||
python${PYTHON_VERSION} python${PYTHON_VERSION}-devel python${PYTHON_VERSION}-pip glibc-common glibc-all-langpacks \ | ||
openssl-devel libffi-devel libyaml zlib-devel \ | ||
pcre2 which tar gzip zip unzip bzip2 sudo ncurses ncurses-devel sqlite-devel gnupg2 dotnet-sdk-9.0 \ | ||
&& microdnf install -y epel-release \ | ||
&& microdnf install --enablerepo=crb -y libyaml-devel jemalloc-devel \ | ||
&& alternatives --install /usr/bin/python3 python /usr/bin/python${PYTHON_VERSION} 10 \ | ||
&& alternatives --install /usr/bin/python3 python3 /usr/bin/python${PYTHON_VERSION} 10 \ | ||
&& /usr/bin/python${PYTHON_VERSION} --version \ | ||
|
@@ -93,6 +103,17 @@ RUN set -e; \ | |
&& source /root/.nvm/nvm.sh \ | ||
&& nvm install ${NODE_VERSION} \ | ||
&& node --version \ | ||
&& git clone https://github.com/rbenv/rbenv.git --depth=1 ~/.rbenv \ | ||
&& echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc \ | ||
&& echo 'eval "$(~/.rbenv/bin/rbenv init - bash)"' >> ~/.bashrc \ | ||
&& source ~/.bashrc \ | ||
&& mkdir -p "$(rbenv root)/plugins" \ | ||
&& git clone https://github.com/rbenv/ruby-build.git --depth=1 "$(rbenv root)/plugins/ruby-build" \ | ||
&& rbenv install ${RUBY_VERSION} \ | ||
&& rbenv global ${RUBY_VERSION} \ | ||
&& ruby --version \ | ||
&& which ruby \ | ||
&& rm -rf /root/.rbenv/cache $RUBY_BUILD_BUILD_PATH \ | ||
&& curl -s "https://get.sdkman.io" | bash \ | ||
&& echo -e "sdkman_auto_answer=true\nsdkman_selfupdate_feature=false\nsdkman_auto_env=true\nsdkman_curl_connect_timeout=20\nsdkman_curl_max_time=0" >> $HOME/.sdkman/etc/config \ | ||
&& source "$HOME/.sdkman/bin/sdkman-init.sh" \ | ||
|
@@ -112,7 +133,6 @@ RUN set -e; \ | |
&& chmod +x /usr/bin/swift \ | ||
&& rm -rf "$GNUPGHOME" swift.tar.gz.sig swift.tar.gz \ | ||
&& swift --version \ | ||
&& microdnf install -y epel-release \ | ||
&& mkdir -p ${ANDROID_HOME}/cmdline-tools \ | ||
&& curl -L https://dl.google.com/android/repository/commandlinetools-linux-11076708_latest.zip -o ${ANDROID_HOME}/cmdline-tools/android_tools.zip \ | ||
&& unzip ${ANDROID_HOME}/cmdline-tools/android_tools.zip -d ${ANDROID_HOME}/cmdline-tools/ \ | ||
|
@@ -131,7 +151,7 @@ RUN set -e; \ | |
&& /usr/local/bin/lein \ | ||
&& curl -L -O https://github.com/clojure/brew-install/releases/latest/download/linux-install.sh \ | ||
&& chmod +x linux-install.sh \ | ||
&& sudo ./linux-install.sh \ | ||
&& ./linux-install.sh \ | ||
&& curl -L --output /usr/local/bin/bazel https://github.com/bazelbuild/bazelisk/releases/latest/download/bazelisk-linux-${GOBIN_VERSION} \ | ||
&& chmod +x /usr/local/bin/bazel \ | ||
&& useradd -ms /bin/bash cyclonedx \ | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM almalinux:10-kitten-minimal | ||
FROM almalinux:9.5-minimal | ||
|
||
LABEL maintainer="cyclonedx" \ | ||
org.opencontainers.image.authors="Prabhu Subramanian <[email protected]>" \ | ||
|
@@ -17,11 +17,12 @@ ARG SWIFT_BRANCH=swift-6.0.1-release | |
ARG SWIFT_VERSION=swift-6.0.1-RELEASE | ||
ARG SWIFT_WEBROOT=https://download.swift.org | ||
ARG JAVA_VERSION=23.0.1-tem | ||
ARG SBT_VERSION=1.10.5 | ||
ARG SBT_VERSION=1.10.7 | ||
ARG MAVEN_VERSION=3.9.9 | ||
ARG GRADLE_VERSION=8.11 | ||
ARG GO_VERSION=1.23.3 | ||
ARG PYTHON_VERSION=3.12 | ||
ARG RUBY_VERSION=3.4.0 | ||
|
||
ENV GOPATH=/opt/app-root/go \ | ||
JAVA_VERSION=$JAVA_VERSION \ | ||
|
@@ -35,6 +36,7 @@ ENV GOPATH=/opt/app-root/go \ | |
SBT_HOME="/root/.sdkman/candidates/sbt/${SBT_VERSION}" \ | ||
PYTHON_VERSION=3.12 \ | ||
PYTHON_CMD=/usr/bin/python3.12 \ | ||
RUBY_VERSION=$RUBY_VERSION \ | ||
PYTHONUNBUFFERED=1 \ | ||
PYTHONIOENCODING="utf-8" \ | ||
COMPOSER_ALLOW_SUPERUSER=1 \ | ||
|
@@ -51,8 +53,13 @@ ENV GOPATH=/opt/app-root/go \ | |
CDXGEN_IN_CONTAINER=true \ | ||
SDKMAN_DIR=/root/.sdkman \ | ||
SDKMAN_CANDIDATES_DIR=/root/.sdkman/candidates \ | ||
PYTHONPATH=/opt/pypi | ||
ENV PATH=${PATH}:${JAVA_HOME}/bin:${MAVEN_HOME}/bin:${GRADLE_HOME}/bin:${SBT_HOME}/bin:${GOPATH}/bin:/usr/local/go/bin:/usr/local/bin/:/root/.local/bin:${ANDROID_HOME}/cmdline-tools/latest/bin:${ANDROID_HOME}/tools:${ANDROID_HOME}/tools/bin:${ANDROID_HOME}/platform-tools:/root/.bun/bin:/root/.cargo/bin:/opt/pypi/bin: | ||
PYTHONPATH=/opt/pypi \ | ||
MALLOC_CONF="dirty_decay_ms:2000,narenas:2,background_thread:true" \ | ||
RUBY_CONFIGURE_OPTS="--with-jemalloc --enable-yjit" \ | ||
RUBYOPT="--yjit" \ | ||
RUBY_BUILD_BUILD_PATH="/tmp/rbenv" \ | ||
RUBY_BUILD_HTTP_CLIENT=curl | ||
ENV PATH=${PATH}:${JAVA_HOME}/bin:${MAVEN_HOME}/bin:${GRADLE_HOME}/bin:${SBT_HOME}/bin:${GOPATH}/bin:/usr/local/go/bin:/usr/local/bin/:/root/.local/bin:${ANDROID_HOME}/cmdline-tools/latest/bin:${ANDROID_HOME}/tools:${ANDROID_HOME}/tools/bin:${ANDROID_HOME}/platform-tools:/root/.bun/bin:/root/.cargo/bin:/opt/pypi/bin:/root/.rbenv/bin: | ||
|
||
RUN set -e; \ | ||
ARCH_NAME="$(rpm --eval '%{_arch}')"; \ | ||
|
@@ -69,8 +76,11 @@ RUN set -e; \ | |
*) echo >&2 "error: unsupported architecture: '$ARCH_NAME'"; exit 1 ;; \ | ||
esac \ | ||
&& microdnf install -y php php-curl php-zip php-bcmath php-json php-pear php-mbstring php-devel make gcc git-core \ | ||
python${PYTHON_VERSION} python${PYTHON_VERSION}-devel python${PYTHON_VERSION}-pip ruby ruby-devel glibc-common glibc-all-langpacks \ | ||
pcre2 which tar gzip zip unzip bzip2 sudo ncurses sqlite-devel gnupg2 dotnet-sdk-9.0 \ | ||
python${PYTHON_VERSION} python${PYTHON_VERSION}-devel python${PYTHON_VERSION}-pip glibc-common glibc-all-langpacks \ | ||
openssl-devel libffi-devel libyaml zlib-devel \ | ||
pcre2 which tar gzip zip unzip bzip2 sudo ncurses ncurses-devel sqlite-devel gnupg2 dotnet-sdk-9.0 \ | ||
&& microdnf install -y epel-release \ | ||
&& microdnf install --enablerepo=crb -y libyaml-devel jemalloc-devel \ | ||
&& alternatives --install /usr/bin/python3 python /usr/bin/python${PYTHON_VERSION} 10 \ | ||
&& alternatives --install /usr/bin/python3 python3 /usr/bin/python${PYTHON_VERSION} 10 \ | ||
&& python${PYTHON_VERSION} --version \ | ||
|
@@ -81,6 +91,17 @@ RUN set -e; \ | |
&& rustc --version \ | ||
&& curl -fsSL https://bun.sh/install | bash \ | ||
&& ln -s /root/.bun/bin/bun /usr/bin/node \ | ||
&& git clone https://github.com/rbenv/rbenv.git --depth=1 ~/.rbenv \ | ||
&& echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc \ | ||
&& echo 'eval "$(~/.rbenv/bin/rbenv init - bash)"' >> ~/.bashrc \ | ||
&& source ~/.bashrc \ | ||
&& mkdir -p "$(rbenv root)/plugins" \ | ||
&& git clone https://github.com/rbenv/ruby-build.git --depth=1 "$(rbenv root)/plugins/ruby-build" \ | ||
&& rbenv install ${RUBY_VERSION} \ | ||
&& rbenv global ${RUBY_VERSION} \ | ||
&& ruby --version \ | ||
&& which ruby \ | ||
&& rm -rf /root/.rbenv/cache $RUBY_BUILD_BUILD_PATH \ | ||
&& curl -s "https://get.sdkman.io" | bash \ | ||
&& echo -e "sdkman_auto_answer=true\nsdkman_selfupdate_feature=false\nsdkman_auto_env=true" >> $HOME/.sdkman/etc/config \ | ||
&& source "$HOME/.sdkman/bin/sdkman-init.sh" \ | ||
|
@@ -101,7 +122,6 @@ RUN set -e; \ | |
&& chmod +x /usr/bin/swift \ | ||
&& rm -rf "$GNUPGHOME" swift.tar.gz.sig swift.tar.gz \ | ||
&& swift --version \ | ||
&& microdnf install -y epel-release \ | ||
&& mkdir -p ${ANDROID_HOME}/cmdline-tools \ | ||
&& curl -L https://dl.google.com/android/repository/commandlinetools-linux-11076708_latest.zip -o ${ANDROID_HOME}/cmdline-tools/android_tools.zip \ | ||
&& unzip ${ANDROID_HOME}/cmdline-tools/android_tools.zip -d ${ANDROID_HOME}/cmdline-tools/ \ | ||
|
@@ -120,7 +140,7 @@ RUN set -e; \ | |
&& /usr/local/bin/lein \ | ||
&& curl -L -O https://github.com/clojure/brew-install/releases/latest/download/linux-install.sh \ | ||
&& chmod +x linux-install.sh \ | ||
&& sudo ./linux-install.sh \ | ||
&& ./linux-install.sh \ | ||
&& useradd -ms /bin/bash cyclonedx \ | ||
&& pecl channel-update pecl.php.net \ | ||
&& pecl install timezonedb \ | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM almalinux:10-kitten-minimal | ||
FROM almalinux:9.5-minimal | ||
|
||
LABEL maintainer="cyclonedx" \ | ||
org.opencontainers.image.authors="Prabhu Subramanian <[email protected]>" \ | ||
|
@@ -17,11 +17,12 @@ ARG SWIFT_BRANCH=swift-6.0.1-release | |
ARG SWIFT_VERSION=swift-6.0.1-RELEASE | ||
ARG SWIFT_WEBROOT=https://download.swift.org | ||
ARG JAVA_VERSION=23.0.1-tem | ||
ARG SBT_VERSION=1.10.5 | ||
ARG SBT_VERSION=1.10.7 | ||
ARG MAVEN_VERSION=3.9.9 | ||
ARG GRADLE_VERSION=8.11 | ||
ARG GO_VERSION=1.23.3 | ||
ARG PYTHON_VERSION=3.12 | ||
ARG RUBY_VERSION=3.4.0 | ||
|
||
ENV GOPATH=/opt/app-root/go \ | ||
JAVA_VERSION=$JAVA_VERSION \ | ||
|
@@ -35,6 +36,7 @@ ENV GOPATH=/opt/app-root/go \ | |
SBT_HOME="/root/.sdkman/candidates/sbt/${SBT_VERSION}" \ | ||
PYTHON_VERSION=3.12 \ | ||
PYTHON_CMD=/usr/bin/python3.12 \ | ||
RUBY_VERSION=$RUBY_VERSION \ | ||
PYTHONUNBUFFERED=1 \ | ||
PYTHONIOENCODING="utf-8" \ | ||
COMPOSER_ALLOW_SUPERUSER=1 \ | ||
|
@@ -53,8 +55,13 @@ ENV GOPATH=/opt/app-root/go \ | |
CDXGEN_IN_CONTAINER=true \ | ||
SDKMAN_DIR=/root/.sdkman \ | ||
SDKMAN_CANDIDATES_DIR=/root/.sdkman/candidates \ | ||
PYTHONPATH=/opt/pypi | ||
ENV PATH=${PATH}:${JAVA_HOME}/bin:${MAVEN_HOME}/bin:${GRADLE_HOME}/bin:${SBT_HOME}/bin:${GOPATH}/bin:/usr/local/go/bin:/usr/local/bin/:/root/.local/bin:${ANDROID_HOME}/cmdline-tools/latest/bin:${ANDROID_HOME}/tools:${ANDROID_HOME}/tools/bin:${ANDROID_HOME}/platform-tools:/root/.deno/bin:/root/.cargo/bin:/opt/pypi/bin: | ||
PYTHONPATH=/opt/pypi \ | ||
MALLOC_CONF="dirty_decay_ms:2000,narenas:2,background_thread:true" \ | ||
RUBY_CONFIGURE_OPTS="--with-jemalloc --enable-yjit" \ | ||
RUBYOPT="--yjit" \ | ||
RUBY_BUILD_BUILD_PATH="/tmp/rbenv" \ | ||
RUBY_BUILD_HTTP_CLIENT=curl | ||
ENV PATH=${PATH}:${JAVA_HOME}/bin:${MAVEN_HOME}/bin:${GRADLE_HOME}/bin:${SBT_HOME}/bin:${GOPATH}/bin:/usr/local/go/bin:/usr/local/bin/:/root/.local/bin:${ANDROID_HOME}/cmdline-tools/latest/bin:${ANDROID_HOME}/tools:${ANDROID_HOME}/tools/bin:${ANDROID_HOME}/platform-tools:/root/.deno/bin:/root/.cargo/bin:/opt/pypi/bin:/root/.rbenv/bin: | ||
|
||
RUN set -e; \ | ||
ARCH_NAME="$(rpm --eval '%{_arch}')"; \ | ||
|
@@ -71,8 +78,11 @@ RUN set -e; \ | |
*) echo >&2 "error: unsupported architecture: '$ARCH_NAME'"; exit 1 ;; \ | ||
esac \ | ||
&& microdnf install -y php php-curl php-zip php-bcmath php-json php-pear php-mbstring php-devel make gcc git-core \ | ||
python${PYTHON_VERSION} python${PYTHON_VERSION}-devel python${PYTHON_VERSION}-pip ruby ruby-devel glibc-common glibc-all-langpacks \ | ||
pcre2 which tar gzip zip unzip bzip2 sudo ncurses sqlite-devel gnupg2 dotnet-sdk-9.0 \ | ||
python${PYTHON_VERSION} python${PYTHON_VERSION}-devel python${PYTHON_VERSION}-pip glibc-common glibc-all-langpacks \ | ||
openssl-devel libffi-devel libyaml zlib-devel \ | ||
pcre2 which tar gzip zip unzip bzip2 sudo ncurses ncurses-devel sqlite-devel gnupg2 dotnet-sdk-9.0 \ | ||
&& microdnf install -y epel-release \ | ||
&& microdnf install --enablerepo=crb -y libyaml-devel jemalloc-devel \ | ||
&& alternatives --install /usr/bin/python3 python /usr/bin/python${PYTHON_VERSION} 10 \ | ||
&& alternatives --install /usr/bin/python3 python3 /usr/bin/python${PYTHON_VERSION} 10 \ | ||
&& python${PYTHON_VERSION} --version \ | ||
|
@@ -90,6 +100,17 @@ RUN set -e; \ | |
&& curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \ | ||
&& cargo --version \ | ||
&& rustc --version \ | ||
&& git clone https://github.com/rbenv/rbenv.git --depth=1 ~/.rbenv \ | ||
&& echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc \ | ||
&& echo 'eval "$(~/.rbenv/bin/rbenv init - bash)"' >> ~/.bashrc \ | ||
&& source ~/.bashrc \ | ||
&& mkdir -p "$(rbenv root)/plugins" \ | ||
&& git clone https://github.com/rbenv/ruby-build.git --depth=1 "$(rbenv root)/plugins/ruby-build" \ | ||
&& rbenv install ${RUBY_VERSION} \ | ||
&& rbenv global ${RUBY_VERSION} \ | ||
&& ruby --version \ | ||
&& which ruby \ | ||
&& rm -rf /root/.rbenv/cache $RUBY_BUILD_BUILD_PATH \ | ||
&& curl -s "https://get.sdkman.io" | bash \ | ||
&& echo -e "sdkman_auto_answer=true\nsdkman_selfupdate_feature=false\nsdkman_auto_env=true" >> $HOME/.sdkman/etc/config \ | ||
&& source "$HOME/.sdkman/bin/sdkman-init.sh" \ | ||
|
@@ -129,7 +150,7 @@ RUN set -e; \ | |
&& /usr/local/bin/lein \ | ||
&& curl -L -O https://github.com/clojure/brew-install/releases/latest/download/linux-install.sh \ | ||
&& chmod +x linux-install.sh \ | ||
&& sudo ./linux-install.sh \ | ||
&& ./linux-install.sh \ | ||
&& curl -L --output /usr/local/bin/bazel https://github.com/bazelbuild/bazelisk/releases/latest/download/bazelisk-linux-${GOBIN_VERSION} \ | ||
&& chmod +x /usr/local/bin/bazel \ | ||
&& bazel --version \ | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM almalinux:10-kitten-minimal | ||
FROM almalinux:9.5-minimal | ||
|
||
LABEL maintainer="cyclonedx" \ | ||
org.opencontainers.image.authors="Prabhu Subramanian <[email protected]>" \ | ||
|
@@ -11,7 +11,7 @@ LABEL maintainer="cyclonedx" \ | |
org.opencontainers.image.description="Container image for cdxgen SBOM generator" \ | ||
org.opencontainers.docker.cmd="docker run --rm -v /tmp:/tmp -p 9090:9090 -v $(pwd):/app:rw -t ghcr.io/cyclonedx/cdxgen-ppc64 -r /app --server" | ||
|
||
ARG SBT_VERSION=1.10.5 | ||
ARG SBT_VERSION=1.10.7 | ||
ARG MAVEN_VERSION=3.9.9 | ||
ARG GRADLE_VERSION=8.11 | ||
ARG GO_VERSION=1.23.3 | ||
|
@@ -56,7 +56,7 @@ RUN set -e; \ | |
*) echo >&2 "error: unsupported architecture: '$ARCH_NAME'"; exit 1 ;; \ | ||
esac; \ | ||
echo -e "[nodejs]\nname=nodejs\nstream=20\nprofiles=\nstate=enabled\n" > /etc/dnf/modules.d/nodejs.module \ | ||
&& microdnf install -y php php-curl php-zip php-bcmath php-json php-pear php-mbstring php-devel make gcc git-core \ | ||
&& microdnf install --nodocs -y php php-curl php-zip php-bcmath php-json php-pear php-mbstring php-devel make gcc git-core \ | ||
python${PYTHON_VERSION} python${PYTHON_VERSION}-devel python${PYTHON_VERSION}-pip ruby ruby-devel java-21-openjdk-headless \ | ||
pcre2 which tar gzip zip unzip bzip2 sudo nodejs ncurses gnupg2 sqlite-devel \ | ||
&& alternatives --install /usr/bin/python3 python /usr/bin/python${PYTHON_VERSION} 10 \ | ||
|
@@ -93,7 +93,7 @@ RUN set -e; \ | |
&& /usr/local/bin/lein \ | ||
&& curl -L -O https://github.com/clojure/brew-install/releases/latest/download/linux-install.sh \ | ||
&& chmod +x linux-install.sh \ | ||
&& sudo ./linux-install.sh \ | ||
&& ./linux-install.sh \ | ||
&& useradd -ms /bin/bash cyclonedx \ | ||
&& npm install --unsafe-perm -g corepack \ | ||
&& npm install --unsafe-perm -g @microsoft/rush --omit=dev \ | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,7 +65,7 @@ | |
"bugs": { | ||
"url": "https://github.com/cyclonedx/cdxgen/issues" | ||
}, | ||
"packageManager": "[email protected].1", | ||
"packageManager": "[email protected].2", | ||
"lint-staged": { | ||
"*": "biome check --fix --no-errors-on-unmatched" | ||
}, | ||
|