diff --git a/.cspell.json b/.cspell.json index 9756faa..7daf9e3 100644 --- a/.cspell.json +++ b/.cspell.json @@ -14,11 +14,11 @@ "actrc", "aliyun", "aquasecurity", - "ASPNET", + "aspnet", "assumeyes", "automake", "azcliextensions", - "BASEPATH", + "basepath", "binfmt", "binutils", "brotli", @@ -28,7 +28,7 @@ "buildx", "catthehacker", "cmdline", - "CODEOWNERS", + "codeowners", "commandlinetools", "containerd", "containerimage", @@ -79,7 +79,7 @@ "libxss", "libyaml", "localedef", - "MARKDOWNLINT", + "markdownlint", "mauwii", "mediainfo", "mediatypes", @@ -92,15 +92,15 @@ "nerdbank", "netcat", "nofile", - "NOLOGO", + "nologo", "noninteractive", "noto", "nugetpackages", "nupkg", "oldci", - "ONBUILD", + "onbuild", "opencontainers", - "OPTOUT", + "optout", "patchelf", "pigz", "pipefail", @@ -122,17 +122,15 @@ "texinfo", "tonistiigi", "toolcache", - "TOOLSDIRECTORY", - "toolset", - "toolsets", + "toolsdirectory", "trivy", "trivyignore", "tzdata", "venv", "vercel", "vuln", - "WORKDIR", - "XMLDOC", + "workdir", + "xmldoc", "xorriso", "xvfb", "Zrmnxj", diff --git a/.dockerignore b/.dockerignore index 9330310..72e8ffc 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,2 +1 @@ * -!linux/ubuntu/toolsets/*.json diff --git a/.jscpd.json b/.jscpd.json index 4f9d9e4..d370543 100644 --- a/.jscpd.json +++ b/.jscpd.json @@ -12,7 +12,6 @@ "**/report/**", "**/*.svg", "**/tmp/**", - "**/megalinter-reports/**", - "**/linux/*/toolsets/*.json" + "**/megalinter-reports/**" ] } diff --git a/.secretlintignore b/.secretlintignore index 691e81c..ed00227 100644 --- a/.secretlintignore +++ b/.secretlintignore @@ -1 +1,2 @@ -**/megalinter-reports/** \ No newline at end of file +**/megalinter-reports/** +**/cspell.txt \ No newline at end of file diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 0c1c037..87f0a9c 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -5,9 +5,10 @@ "exiasr.hadolint", "foxundermoon.shell-format", "github.vscode-github-actions", + "hashicorp.hcl", "mads-hartmann.bash-ide-vscode", "ms-azuretools.vscode-docker", - "MS-CST-E.vscode-devskim", + "ms-cst-e.vscode-devskim", "streetsidesoftware.code-spell-checker" ] } diff --git a/docker-bake.hcl b/docker-bake.hcl index dc717d0..f948c9a 100644 --- a/docker-bake.hcl +++ b/docker-bake.hcl @@ -45,6 +45,11 @@ variable "BICEP_VERSION" { variable "DOTNET_SDK_VERSION" { default = "6.0.414" } + +variable "DEPENDENCIES" { + default = "[\"acl\",\"apt-transport-https\",\"aria2\",\"bison\",\"brotli\",\"dbus\",\"dnsutils\",\"fakeroot\",\"flex\",\"fonts-noto-color-emoji\",\"ftp\",\"gawk\",\"gnupg-agent\",\"gnupg2\",\"haveged\",\"iproute2\",\"iputils-ping\",\"libc++-dev\",\"libc++abi-dev\",\"libc6-dev\",\"libgbm-dev\",\"libgconf-2-4\",\"libgsl-dev\",\"libgtk-3-0\",\"libmagic-dev\",\"libsecret-1-dev\",\"libssl-dev\",\"libunwind8\",\"libxkbfile-dev\",\"libxss1\",\"libyaml-dev\",\"lz4\",\"mediainfo\",\"net-tools\",\"netcat\",\"p7zip-full\",\"p7zip-rar\",\"parallel\",\"pass\",\"patchelf\",\"pigz\",\"pollinate\",\"python-is-python3\",\"rpm\",\"rsync\",\"shellcheck\",\"software-properties-common\",\"sphinxsearch\",\"sqlite3\",\"ssh\",\"sshpass\",\"subversion\",\"sudo\",\"swig\",\"telnet\",\"texinfo\",\"time\",\"tk\",\"unzip\",\"upx\",\"xorriso\",\"xvfb\",\"xz-utils\",\"zip\",\"zstd\",\"zsync\"]" +} + variable "GO_VERSION" { default = "1.20.8" } @@ -62,16 +67,25 @@ variable "NODE_VERSION" { } variable "PULUMI_VERSION" { - default = "3.83.0" + default = "3.86.0" +} + +variable "POWERSHELL_AZ_MODULE_VERSIONS" { + default = "[\"9.3.0\"]" } variable "POWERSHELL_VERSION" { default = "7.2.13" } +variable "POWERSHELL_MODULES" { + default = "[\"MarkdownPS\",\"Microsoft.Graph\",\"Pester\",\"PSScriptAnalyzer\"]" +} + group "default" { - targets = ["ubuntu"] - context = "." + targets = [ + "ubuntu" + ] } target "ubuntu" { @@ -92,19 +106,22 @@ target "ubuntu" { ] } args = { - BICEP_VERSION = BICEP_VERSION - CODENAME = release.codename - DISTRO = "ubuntu" - DOTNET_SDK_VERSION = DOTNET_SDK_VERSION - FROM_IMAGE = FROM_IMAGE - FROM_VERSION_MAJOR = release.major - FROM_VERSION_MINOR = release.minor - GO_VERSION = GO_VERSION - GOLANG_GITHUB_SHA256_amd64 = GOLANG_GITHUB_SHA256_amd64 - GOLANG_GITHUB_SHA256_arm64 = GOLANG_GITHUB_SHA256_arm64 - NODE_VERSION = NODE_VERSION - PULUMI_VERSION = PULUMI_VERSION - TOOL_PATH_PWSH = "/usr/share/powershell" + BICEP_VERSION = BICEP_VERSION + CODENAME = release.codename + DEPENDENCIES = DEPENDENCIES + DISTRO = "ubuntu" + DOTNET_SDK_VERSION = DOTNET_SDK_VERSION + FROM_IMAGE = FROM_IMAGE + FROM_VERSION_MAJOR = release.major + FROM_VERSION_MINOR = release.minor + GO_VERSION = GO_VERSION + GOLANG_GITHUB_SHA256_amd64 = GOLANG_GITHUB_SHA256_amd64 + GOLANG_GITHUB_SHA256_arm64 = GOLANG_GITHUB_SHA256_arm64 + NODE_VERSION = NODE_VERSION + POWERSHELL_AZ_MODULE_VERSIONS = POWERSHELL_AZ_MODULE_VERSIONS + POWERSHELL_MODULES = POWERSHELL_MODULES + PULUMI_VERSION = PULUMI_VERSION + TOOL_PATH_PWSH = "/usr/share/powershell" } name = "ubuntu-act-${release.codename}" cache-from = [ @@ -114,7 +131,7 @@ target "ubuntu" { notequal(REF_NAME, "local") ? "${REGISTRY}/${GITHUB_REPOSITORY_OWNER}/ubuntu-act:cache-${release.codename}" : "" ] tags = [ - "${REGISTRY}/${GITHUB_REPOSITORY_OWNER}/ubuntu-act:${release.major}.${release.minor}-${and(notequal(REF_NAME, ""), notequal(REF_NAME, null)) ? REF_NAME : "local"}", + "${REGISTRY}/${GITHUB_REPOSITORY_OWNER}/ubuntu-act:${release.major}.${release.minor}-${REF_NAME}", and(notequal(GITHUB_SHA, null), equal("${REF_NAME}", "main")) ? "${REGISTRY}/${GITHUB_REPOSITORY_OWNER}/ubuntu-act:${release.major}.${release.minor}-${substr(GITHUB_SHA, 0, 7)}" : "", equal("${REF_NAME}", "main") ? "${REGISTRY}/${GITHUB_REPOSITORY_OWNER}/ubuntu-act:${release.major}.${release.minor}" : "", and(equal("${REF_NAME}", "main"), equal(release.codename, "jammy")) ? "${REGISTRY}/${GITHUB_REPOSITORY_OWNER}/ubuntu-act:latest" : "", diff --git a/linux/ubuntu/Dockerfile b/linux/ubuntu/Dockerfile index 8ca9f7e..01842e7 100644 --- a/linux/ubuntu/Dockerfile +++ b/linux/ubuntu/Dockerfile @@ -7,7 +7,6 @@ ARG FROM_VERSION=${FROM_VERSION_MAJOR}.${FROM_VERSION_MINOR} FROM ${FROM_IMAGE}:${FROM_VERSION} as base FROM base as bicep -ARG BUILDKIT_SBOM_SCAN_STAGE=true ARG TARGETARCH ARG BICEP_VERSION=v0.21.1 RUN export targetarch="${TARGETARCH}" \ @@ -18,7 +17,6 @@ RUN export targetarch="${TARGETARCH}" \ && bicep --version FROM base as golang -ARG BUILDKIT_SBOM_SCAN_STAGE=true ARG TARGETARCH SHELL [ "/bin/bash", "--login", "-e", "-o", "pipefail", "-c" ] ENV PATH=/usr/local/go/bin:${PATH} @@ -34,9 +32,9 @@ RUN mkdir -p /tmp/go \ && [[ $(go version) =~ ${GOLANG_VERSION} ]] FROM base as pulumi -ARG BUILDKIT_SBOM_SCAN_STAGE=true +ARG TARGETARCH SHELL [ "/bin/bash", "--login", "-e", "-o", "pipefail", "-c" ] -COPY --from=golang /tmp/go /usr/local/ +COPY --from=golang /usr/local/go /usr/local/go ENV PATH=/usr/local/go/bin:${PATH} ARG PULUMI_VERSION=3.83.0 RUN curl -fsSL https://get.pulumi.com \ @@ -103,8 +101,10 @@ RUN ssh-keyscan github.com >>/etc/ssh/ssh_known_hosts \ && ssh-keyscan ssh.dev.azure.com >>/etc/ssh/ssh_known_hosts # Install dependencies +ARG DEPENDENCIES RUN apt-get -y update &>/dev/null \ - && packages=(gawk sudo jq gnupg-agent ca-certificates software-properties-common apt-transport-https zstd zip unzip xz-utils) \ + && apt-get -y install --no-install-recommends jq && packages=() \ + && while IFS='' read -r pkg; do echo "adding $pkg" && packages+=("$pkg"); done < <(echo "${DEPENDENCIES}" | jq -r '.[]') \ && apt-get -y install --no-install-recommends \ "${packages[@]}" \ && apt-get clean \ @@ -220,7 +220,7 @@ RUN [[ $(curl -sL https://packages.microsoft.com/repos/azure-cli/dists/) =~ $(ls && rm -rf /var/lib/apt/lists/*) \ || echo "Azure CLI not available for this distribution" -# Install default NodeJS and toolset node_modules +# Install default NodeJS ARG NODE_VERSION=20 RUN curl -fsSL https://raw.githubusercontent.com/tj/n/master/bin/n -o ~/n \ && bash ~/n "${NODE_VERSION}" \ @@ -273,72 +273,43 @@ RUN apt-get -y clean \ # kics-scan ignore-line FROM act-base as powershell -ARG BUILDKIT_SBOM_SCAN_STAGE=true -ARG FROM_VERSION_MAJOR=22 -ARG FROM_VERSION_MINOR=04 -ARG FROM_VERSION=${FROM_VERSION_MAJOR}.${FROM_VERSION_MINOR} -ARG DISTRO=ubuntu SHELL [ "/bin/bash", "--login", "-e", "-o", "pipefail", "-c" ] - # Install PowerShell global tool ARG TARGETARCH ARG POWERSHELL_VERSION=7.2.13 ARG TOOL_PATH_PWSH=/usr/share/powershell -RUN export targetarch=${TARGETARCH} \ - && if [ ${targetarch} = "amd64" ]; then export targetarch="x64"; fi \ - && pwsh_nupkg="PowerShell.Linux.${targetarch}.${POWERSHELL_VERSION}.nupkg" \ - && export pwsh_nupkg \ - && curl -fsSLO "https://pwshtool.blob.core.windows.net/tool/${POWERSHELL_VERSION}/${pwsh_nupkg}" \ - && dotnet tool install \ - --add-source / \ - --tool-path "${TOOL_PATH_PWSH}" \ - --version "${POWERSHELL_VERSION}" \ - "PowerShell.Linux.${targetarch}" \ - && dotnet nuget locals all --clear \ - && rm "${pwsh_nupkg}" \ - && ln -s "${TOOL_PATH_PWSH}/pwsh" /usr/bin/pwsh \ - && chmod 755 "${TOOL_PATH_PWSH}/pwsh" - -# Add toolset.json -ARG TOOLSET=/imagegeneration/toolset.json -COPY linux/${DISTRO}/toolsets/${FROM_VERSION_MAJOR}${FROM_VERSION_MINOR}.json ${TOOLSET} +RUN dotnet tool install \ + --tool-path "${TOOL_PATH_PWSH}" \ + --version "${POWERSHELL_VERSION}" \ + PowerShell \ + && find "${TOOL_PATH_PWSH}" -print | grep -i '.*[.]nupkg$' | xargs rm \ + && ln -s "${TOOL_PATH_PWSH}/pwsh" /usr/local/bin/pwsh \ + && chmod 755 "${TOOL_PATH_PWSH}/pwsh" \ + && [[ "$(pwsh --version)" =~ ${POWERSHELL_VERSION} ]] +FROM powershell as powershell-modules +ARG TARGETARCH +SHELL [ "/bin/bash", "--login", "-e", "-o", "pipefail", "-c" ] +ARG POWERSHELL_MODULES +ARG POWERSHELL_AZ_MODULE_VERSIONS # Trust PSGallery and install Powershell-/Azure Modules RUN pwsh -NonInteractive -Command "Set-PSRepository -Name PSGallery -InstallationPolicy Trusted" \ - && while IFS='' read -r pwshModule; do echo "installing ${pwshModule}" && pwsh -NonInteractive -Command "Install-Module -Name ${pwshModule} -Scope AllUsers -Repository PSGallery"; done < <(jq -r '.powershellModules[].name' ${TOOLSET}) \ - && while IFS='' read -r azVersion; do echo "installing Az ${azVersion}" && pwsh -NonInteractive -Command "Install-Module -Name Az -RequiredVersion ${azVersion} -Scope AllUsers -Repository PSGallery"; done < <(jq -r '.azureModules[].versions[]' ${TOOLSET}) + && while IFS='' read -r pwshModule; do echo "installing ${pwshModule}" && pwsh -NonInteractive -Command "Install-Module -Name ${pwshModule} -Scope AllUsers -Repository PSGallery"; done < <(echo "${POWERSHELL_MODULES}" | jq -r '.[]') \ + && while IFS='' read -r azVersion; do echo "installing Az ${azVersion}" && pwsh -NonInteractive -Command "Install-Module -Name Az -RequiredVersion ${azVersion} -Scope AllUsers -Repository PSGallery"; done < <(echo "${POWERSHELL_AZ_MODULE_VERSIONS}" | jq -r '.[]') # kics-scan ignore-line FROM act-base as act -ARG BUILDKIT_SBOM_SCAN_STAGE=true +ARG TARGETARCH SHELL [ "/bin/bash", "--login", "-e", "-o", "pipefail", "-c" ] WORKDIR /tmp -# Add toolset.json -ARG FROM_VERSION_MAJOR=22 -ARG FROM_VERSION_MINOR=04 -ARG DISTRO=ubuntu -ARG TOOLSET=/imagegeneration/toolset.json -COPY linux/${DISTRO}/toolsets/${FROM_VERSION_MAJOR}${FROM_VERSION_MINOR}.json ${TOOLSET} - -# install apt packages from toolset -# hadolint ignore=SC2207 -RUN apt-get -y update &>/dev/null \ - && packages=() \ - && while IFS='' read -r line; do packages+=("${line}"); done < <(jq -r '.apt|.vital_packages[],.common_packages[],.cmd_packages[]' ${TOOLSET}) \ - && apt-get -y install --no-install-recommends \ - "${packages[@]}" \ - && apt-get clean \ - && rm -rf /etc/apt/sources.list.d/* \ - && rm -rf /var/lib/apt/lists/* - -# add Powershell and Modules +# add PowerShell ARG TOOL_PATH_PWSH=/usr/share/powershell -COPY --from=powershell /usr/local/share/powershell /usr/local/share/powershell COPY --from=powershell ${TOOL_PATH_PWSH} ${TOOL_PATH_PWSH} -RUN ln -s "${TOOL_PATH_PWSH}/pwsh" /usr/bin/pwsh \ - && chmod 755 "${TOOL_PATH_PWSH}/pwsh" \ - && find "${TOOL_PATH_PWSH}" -print | grep -i '.*[.]nupkg$' | xargs rm +RUN ln -s "${TOOL_PATH_PWSH}/pwsh" /usr/local/bin/pwsh + +# add PowerShell-modules +COPY --from=powershell-modules /usr/local/share/powershell /usr/local/share/powershell # add go COPY --from=golang /usr/local/go /usr/local/go diff --git a/linux/ubuntu/toolsets/2004.json b/linux/ubuntu/toolsets/2004.json deleted file mode 100644 index f8b5df8..0000000 --- a/linux/ubuntu/toolsets/2004.json +++ /dev/null @@ -1,306 +0,0 @@ -{ - "toolcache": [ - { - "name": "Python", - "url": "https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json", - "platform": "linux", - "platform_version": "20.04", - "arch": "x64", - "versions": ["3.6.*", "3.7.*", "3.8.*", "3.9.*", "3.10.*", "3.11.*"] - }, - { - "name": "PyPy", - "arch": "x64", - "platform": "linux", - "versions": ["2.7", "3.6", "3.7", "3.8", "3.9", "3.10"] - }, - { - "name": "node", - "url": "https://raw.githubusercontent.com/actions/node-versions/main/versions-manifest.json", - "platform": "linux", - "arch": "x64", - "versions": ["14.*", "16.*", "18.*"] - }, - { - "name": "go", - "url": "https://raw.githubusercontent.com/actions/go-versions/main/versions-manifest.json", - "arch": "x64", - "platform": "linux", - "versions": ["1.18.*", "1.19.*", "1.20.*", "1.21.*"], - "default": "1.20.*" - }, - { - "name": "Ruby", - "platform_version": "20.04", - "arch": "x64", - "versions": ["2.5.*", "2.6.*", "2.7.*", "3.0.*", "3.1.*"] - }, - { - "name": "CodeQL", - "platform": "linux", - "arch": "x64", - "versions": ["*"] - } - ], - "java": { - "default": "11", - "versions": ["8", "11", "17"], - "maven": "3.8.8" - }, - "android": { - "cmdline-tools": "commandlinetools-linux-9477386_latest.zip", - "platform_min_version": "27", - "build_tools_min_version": "27.0.0", - "extra_list": [ - "android;m2repository", - "google;m2repository", - "google;google_play_services" - ], - "addon_list": [], - "additional_tools": [ - "cmake;3.10.2.4988404", - "cmake;3.18.1", - "cmake;3.22.1" - ], - "ndk": { - "default": "25", - "versions": ["23", "24", "25"] - } - }, - "powershellModules": [ - { "name": "MarkdownPS" }, - { "name": "Microsoft.Graph" }, - { "name": "Pester" }, - { "name": "PSScriptAnalyzer" } - ], - "azureModules": [ - { - "name": "az", - "url": "https://raw.githubusercontent.com/Azure/az-ps-module-versions/main/versions-manifest.json", - "versions": ["9.3.0"], - "zip_versions": ["3.1.0", "4.4.0", "5.9.0", "6.6.0", "7.5.0"] - } - ], - "apt": { - "vital_packages": [ - "bzip2", - "curl", - "g++", - "gcc", - "make", - "jq", - "tar", - "unzip", - "wget" - ], - "common_packages": [ - "autoconf", - "automake", - "dbus", - "dnsutils", - "dpkg", - "dpkg-dev", - "fakeroot", - "fonts-noto-color-emoji", - "gnupg2", - "imagemagick", - "iproute2", - "iputils-ping", - "libc++abi-dev", - "libc++-dev", - "libc6-dev", - "libcurl4", - "libgbm-dev", - "libgconf-2-4", - "libgsl-dev", - "libgtk-3-0", - "libmagic-dev", - "libmagickcore-dev", - "libmagickwand-dev", - "libsecret-1-dev", - "libsqlite3-dev", - "libyaml-dev", - "libtool", - "libunwind8", - "libxkbfile-dev", - "libxss1", - "locales", - "mercurial", - "openssh-client", - "p7zip-rar", - "pkg-config", - "python-is-python3", - "rpm", - "texinfo", - "tk", - "tzdata", - "upx", - "xorriso", - "xvfb", - "xz-utils", - "zsync" - ], - "cmd_packages": [ - "acl", - "aria2", - "binutils", - "bison", - "brotli", - "coreutils", - "file", - "flex", - "ftp", - "haveged", - "m4", - "mediainfo", - "netcat", - "net-tools", - "p7zip-full", - "parallel", - "pass", - "patchelf", - "pigz", - "pollinate", - "rsync", - "shellcheck", - "sphinxsearch", - "sqlite3", - "ssh", - "sshpass", - "subversion", - "sudo", - "swig", - "telnet", - "time", - "zip" - ] - }, - "brew": [], - "docker": { - "images": [ - "alpine:3.16", - "alpine:3.17", - "alpine:3.18", - "buildpack-deps:stretch", - "buildpack-deps:buster", - "buildpack-deps:bullseye", - "debian:9", - "debian:10", - "debian:11", - "moby/buildkit:latest", - "node:14", - "node:16", - "node:18", - "node:14-alpine", - "node:16-alpine", - "node:18-alpine", - "ubuntu:16.04", - "ubuntu:18.04", - "ubuntu:20.04" - ] - }, - "pipx": [ - { - "package": "yamllint", - "cmd": "yamllint" - }, - { - "package": "ansible-core", - "cmd": "ansible" - } - ], - "dotnet": { - "aptPackages": ["dotnet-sdk-6.0", "dotnet-sdk-7.0"], - "versions": ["6.0", "7.0"], - "tools": [ - { - "name": "nbgv", - "test": "nbgv --version", - "getversion": "nbgv --version" - } - ] - }, - "clang": { - "versions": ["10", "11", "12"], - "default_version": "11" - }, - "gcc": { - "versions": ["g++-9", "g++-10"] - }, - "gfortran": { - "versions": ["gfortran-9", "gfortran-10"] - }, - "php": { - "versions": ["7.4", "8.0", "8.1", "8.2"] - }, - "rubygems": [{ "name": "fastlane" }], - "selenium": { - "version": "4", - "binary_name": "selenium-server" - }, - "node": { - "default": "20" - }, - "node_modules": [ - { - "name": "grunt", - "command": "grunt" - }, - { - "name": "gulp", - "command": "gulp" - }, - { - "name": "n", - "command": "n" - }, - { - "name": "parcel", - "command": "parcel" - }, - { - "name": "typescript", - "command": "tsc" - }, - { - "name": "newman", - "command": "newman" - }, - { - "name": "vercel", - "command": "vercel" - }, - { - "name": "webpack", - "command": "webpack" - }, - { - "name": "webpack-cli", - "command": "webpack-cli" - }, - { - "name": "netlify-cli", - "command": "netlify" - }, - { - "name": "lerna", - "command": "lerna" - }, - { - "name": "yarn", - "command": "yarn" - } - ], - "mongodb": { - "version": "5.0" - }, - "postgresql": { - "version": "14" - }, - "pwsh": { - "version": "7.2" - }, - "aliyunCli": { - "version": "3.0.174" - } -} diff --git a/linux/ubuntu/toolsets/2204.json b/linux/ubuntu/toolsets/2204.json deleted file mode 100644 index 48c69d6..0000000 --- a/linux/ubuntu/toolsets/2204.json +++ /dev/null @@ -1,303 +0,0 @@ -{ - "toolcache": [ - { - "name": "Python", - "url": "https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json", - "platform": "linux", - "platform_version": "22.04", - "arch": "x64", - "versions": ["3.7.*", "3.8.*", "3.9.*", "3.10.*", "3.11.*"] - }, - { - "name": "PyPy", - "arch": "x64", - "platform": "linux", - "versions": ["3.7", "3.8", "3.9", "3.10"] - }, - { - "name": "node", - "url": "https://raw.githubusercontent.com/actions/node-versions/main/versions-manifest.json", - "platform": "linux", - "arch": "x64", - "versions": ["14.*", "16.*", "18.*"] - }, - { - "name": "go", - "url": "https://raw.githubusercontent.com/actions/go-versions/main/versions-manifest.json", - "arch": "x64", - "platform": "linux", - "versions": ["1.18.*", "1.19.*", "1.20.*", "1.21.*"], - "default": "1.20.*" - }, - { - "name": "Ruby", - "platform_version": "22.04", - "arch": "x64", - "versions": ["3.1.*"] - }, - { - "name": "CodeQL", - "platform": "linux", - "arch": "x64", - "versions": ["*"] - } - ], - "java": { - "default": "11", - "versions": ["8", "11", "17"], - "maven": "3.8.8" - }, - "android": { - "cmdline-tools": "commandlinetools-linux-9477386_latest.zip", - "platform_min_version": "27", - "build_tools_min_version": "27.0.0", - "extra_list": [ - "android;m2repository", - "google;m2repository", - "google;google_play_services" - ], - "addon_list": [], - "additional_tools": [ - "cmake;3.10.2.4988404", - "cmake;3.18.1", - "cmake;3.22.1" - ], - "ndk": { - "default": "25", - "versions": ["23", "24", "25"] - } - }, - "powershellModules": [ - { "name": "MarkdownPS" }, - { "name": "Microsoft.Graph" }, - { "name": "Pester" }, - { "name": "PSScriptAnalyzer" } - ], - "azureModules": [ - { - "name": "az", - "url": "https://raw.githubusercontent.com/Azure/az-ps-module-versions/main/versions-manifest.json", - "versions": ["9.3.0"], - "zip_versions": [] - } - ], - "apt": { - "vital_packages": [ - "bzip2", - "curl", - "g++", - "gcc", - "make", - "jq", - "tar", - "unzip", - "wget" - ], - "common_packages": [ - "autoconf", - "automake", - "dbus", - "dnsutils", - "dpkg", - "dpkg-dev", - "fakeroot", - "fonts-noto-color-emoji", - "gnupg2", - "imagemagick", - "iproute2", - "iputils-ping", - "libc++abi-dev", - "libc++-dev", - "libc6-dev", - "libcurl4", - "libgbm-dev", - "libgconf-2-4", - "libgsl-dev", - "libgtk-3-0", - "libmagic-dev", - "libmagickcore-dev", - "libmagickwand-dev", - "libsecret-1-dev", - "libsqlite3-dev", - "libyaml-dev", - "libtool", - "libunwind8", - "libxkbfile-dev", - "libxss1", - "libssl-dev", - "locales", - "mercurial", - "openssh-client", - "p7zip-rar", - "pkg-config", - "python-is-python3", - "rpm", - "texinfo", - "tk", - "tzdata", - "upx", - "xorriso", - "xvfb", - "xz-utils", - "zsync" - ], - "cmd_packages": [ - "acl", - "aria2", - "binutils", - "bison", - "brotli", - "coreutils", - "file", - "flex", - "ftp", - "haveged", - "lz4", - "m4", - "mediainfo", - "netcat", - "net-tools", - "p7zip-full", - "parallel", - "pass", - "patchelf", - "pigz", - "pollinate", - "rsync", - "shellcheck", - "sphinxsearch", - "sqlite3", - "ssh", - "sshpass", - "subversion", - "sudo", - "swig", - "telnet", - "time", - "zip" - ] - }, - "brew": [], - "docker": { - "images": [ - "alpine:3.16", - "alpine:3.17", - "alpine:3.18", - "buildpack-deps:buster", - "buildpack-deps:bullseye", - "debian:10", - "debian:11", - "moby/buildkit:latest", - "node:14", - "node:16", - "node:18", - "node:14-alpine", - "node:16-alpine", - "node:18-alpine", - "ubuntu:18.04", - "ubuntu:20.04", - "ubuntu:22.04" - ] - }, - "pipx": [ - { - "package": "yamllint", - "cmd": "yamllint" - }, - { - "package": "ansible-core", - "cmd": "ansible" - } - ], - "dotnet": { - "aptPackages": ["dotnet-sdk-6.0", "dotnet-sdk-7.0"], - "versions": ["6.0", "7.0"], - "tools": [ - { - "name": "nbgv", - "test": "nbgv --version", - "getversion": "nbgv --version" - } - ] - }, - "clang": { - "versions": ["12", "13", "14"], - "default_version": "14" - }, - "gcc": { - "versions": ["g++-9", "g++-10", "g++-12"] - }, - "gfortran": { - "versions": ["gfortran-9", "gfortran-10", "gfortran-12"] - }, - "php": { - "versions": ["8.1"] - }, - "rubygems": [{ "name": "fastlane" }], - "selenium": { - "version": "4", - "binary_name": "selenium-server" - }, - "node": { - "default": "20" - }, - "node_modules": [ - { - "name": "grunt", - "command": "grunt" - }, - { - "name": "gulp", - "command": "gulp" - }, - { - "name": "n", - "command": "n" - }, - { - "name": "parcel", - "command": "parcel" - }, - { - "name": "typescript", - "command": "tsc" - }, - { - "name": "newman", - "command": "newman" - }, - { - "name": "vercel", - "command": "vercel" - }, - { - "name": "webpack", - "command": "webpack" - }, - { - "name": "webpack-cli", - "command": "webpack-cli" - }, - { - "name": "netlify-cli", - "command": "netlify" - }, - { - "name": "lerna", - "command": "lerna" - }, - { - "name": "yarn", - "command": "yarn" - } - ], - "mongodb": { - "version": "5.0" - }, - "postgresql": { - "version": "14" - }, - "pwsh": { - "version": "7.2" - } -} diff --git a/linux/ubuntu/toolsets/LICENSE b/linux/ubuntu/toolsets/LICENSE deleted file mode 100644 index 545898a..0000000 --- a/linux/ubuntu/toolsets/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2023 GitHub - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE.