mirror of
https://github.com/truecharts/charts.git
synced 2026-07-19 22:36:13 -03:00
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [ghcr.io/actions/actions-runner](https://redirect.github.com/actions/runner) | stage | minor | `2.326.0` -> `2.327.1` | --- ### Release Notes <details> <summary>actions/runner (ghcr.io/actions/actions-runner)</summary> ### [`v2.327.1`](https://redirect.github.com/actions/runner/releases/tag/v2.327.1) [Compare Source](https://redirect.github.com/actions/runner/compare/v2.327.0...v2.327.1) #### What's Changed - Try add orchestrationid into user-agent using token claim. by [@​TingluoHuang](https://redirect.github.com/TingluoHuang) in [https://github.com/actions/runner/pull/3945](https://redirect.github.com/actions/runner/pull/3945) - Fix null reference exception in user agent handling by [@​salmanmkc](https://redirect.github.com/salmanmkc) in [https://github.com/actions/runner/pull/3946](https://redirect.github.com/actions/runner/pull/3946) - Runner Support for executing Node24 Actions by [@​salmanmkc](https://redirect.github.com/salmanmkc) in [https://github.com/actions/runner/pull/3940](https://redirect.github.com/actions/runner/pull/3940) - Update dotnet sdk to latest version [@​8](https://redirect.github.com/8).0.412 by [@​github-actions](https://redirect.github.com/github-actions)\[bot] in[https://github.com/actions/runner/pull/3941](https://redirect.github.com/actions/runner/pull/3941)1 #### New Contributors - [@​salmanmkc](https://redirect.github.com/salmanmkc) made their first contribution in [https://github.com/actions/runner/pull/3946](https://redirect.github.com/actions/runner/pull/3946) **Full Changelog**: https://github.com/actions/runner/compare/v2.326.0...v2.327.0 *Note: Actions Runner follows a progressive release policy, so the latest release might not be available to your enterprise, organization, or repository yet. To confirm which version of the Actions Runner you should expect, please view the download instructions for your enterprise, organization, or repository. See https://docs.github.com/en/enterprise-cloud@latest/actions/hosting-your-own-runners/adding-self-hosted-runners* #### Windows x64 We recommend configuring the runner in a root folder of the Windows drive (e.g. "C:\actions-runner"). This will help avoid issues related to service identity folder permissions and long file path restrictions on Windows. The following snipped needs to be run on `powershell`: ```powershell ### Create a folder under the drive root mkdir \actions-runner ; cd \actions-runner ### Download the latest runner package Invoke-WebRequest -Uri https://github.com/actions/runner/releases/download/v2.327.1/actions-runner-win-x64-2.327.1.zip -OutFile actions-runner-win-x64-2.327.1.zip ### Extract the installer Add-Type -AssemblyName System.IO.Compression.FileSystem ; [System.IO.Compression.ZipFile]::ExtractToDirectory("$PWD\actions-runner-win-x64-2.327.1.zip", "$PWD") ``` #### Windows arm64 We recommend configuring the runner in a root folder of the Windows drive (e.g. "C:\actions-runner"). This will help avoid issues related to service identity folder permissions and long file path restrictions on Windows. The following snipped needs to be run on `powershell`: ```powershell ### Create a folder under the drive root mkdir \actions-runner ; cd \actions-runner ### Download the latest runner package Invoke-WebRequest -Uri https://github.com/actions/runner/releases/download/v2.327.1/actions-runner-win-arm64-2.327.1.zip -OutFile actions-runner-win-arm64-2.327.1.zip ### Extract the installer Add-Type -AssemblyName System.IO.Compression.FileSystem ; [System.IO.Compression.ZipFile]::ExtractToDirectory("$PWD\actions-runner-win-arm64-2.327.1.zip", "$PWD") ``` #### OSX x64 ```bash ### Create a folder mkdir actions-runner && cd actions-runner ### Download the latest runner package curl -O -L https://github.com/actions/runner/releases/download/v2.327.1/actions-runner-osx-x64-2.327.1.tar.gz ### Extract the installer tar xzf ./actions-runner-osx-x64-2.327.1.tar.gz ``` #### OSX arm64 (Apple silicon) ```bash ### Create a folder mkdir actions-runner && cd actions-runner ### Download the latest runner package curl -O -L https://github.com/actions/runner/releases/download/v2.327.1/actions-runner-osx-arm64-2.327.1.tar.gz ### Extract the installer tar xzf ./actions-runner-osx-arm64-2.327.1.tar.gz ``` #### Linux x64 ```bash ### Create a folder mkdir actions-runner && cd actions-runner ### Download the latest runner package curl -O -L https://github.com/actions/runner/releases/download/v2.327.1/actions-runner-linux-x64-2.327.1.tar.gz ### Extract the installer tar xzf ./actions-runner-linux-x64-2.327.1.tar.gz ``` #### Linux arm64 ```bash ### Create a folder mkdir actions-runner && cd actions-runner ### Download the latest runner package curl -O -L https://github.com/actions/runner/releases/download/v2.327.1/actions-runner-linux-arm64-2.327.1.tar.gz ### Extract the installer tar xzf ./actions-runner-linux-arm64-2.327.1.tar.gz ``` #### Linux arm ```bash ### Create a folder mkdir actions-runner && cd actions-runner ### Download the latest runner package curl -O -L https://github.com/actions/runner/releases/download/v2.327.1/actions-runner-linux-arm-2.327.1.tar.gz ### Extract the installer tar xzf ./actions-runner-linux-arm-2.327.1.tar.gz ``` #### Using your self hosted runner For additional details about configuring, running, or shutting down the runner please check out our [product docs.](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/adding-self-hosted-runners) #### SHA-256 Checksums The SHA-256 checksums for the packages included in this build are shown below: - actions-runner-win-x64-2.327.1.zip <!-- BEGIN SHA win-x64 -->7179db618e7f79e0ce63d96b15f3b6cf6e69996b2094f7f02208b7786c50b6a3<!-- END SHA win-x64 --> - actions-runner-win-arm64-2.327.1.zip <!-- BEGIN SHA win-arm64 -->615ccbbe4880f9c09ee2878431b100e62cfced000e9b3a0886a8130335e13e5d<!-- END SHA win-arm64 --> - actions-runner-osx-x64-2.327.1.tar.gz <!-- BEGIN SHA osx-x64 -->a0cb80fb6baacf5c669ccd5c2f64429033a7b4dac1e020b4231a4fc5ff396b76<!-- END SHA osx-x64 --> - actions-runner-osx-arm64-2.327.1.tar.gz <!-- BEGIN SHA osx-arm64 -->807f875f4a357a9c919b484329c072e885ef2c041a18d3107cf1a1e5932eecc0<!-- END SHA osx-arm64 --> - actions-runner-linux-x64-2.327.1.tar.gz <!-- BEGIN SHA linux-x64 -->d68ac1f500b747d1271d9e52661c408d56cffd226974f68b7dc813e30b9e0575<!-- END SHA linux-x64 --> - actions-runner-linux-arm64-2.327.1.tar.gz <!-- BEGIN SHA linux-arm64 -->16102096988246f250a745c6a813a5a0b8901e2f554f9440c97e8573fd4da111<!-- END SHA linux-arm64 --> - actions-runner-linux-arm-2.327.1.tar.gz <!-- BEGIN SHA linux-arm -->b6f34af6d11f5f023fe23aa8bcb01f392eaad30d70e1e31f4e68bbdbb315eda8<!-- END SHA linux-arm --> ### [`v2.327.0`](https://redirect.github.com/actions/runner/releases/tag/v2.327.0) [Compare Source](https://redirect.github.com/actions/runner/compare/v2.326.0...v2.327.0) #### What's Changed - Try add orchestrationid into user-agent using token claim. by [@​TingluoHuang](https://redirect.github.com/TingluoHuang) in [https://github.com/actions/runner/pull/3945](https://redirect.github.com/actions/runner/pull/3945) - Fix null reference exception in user agent handling by [@​salmanmkc](https://redirect.github.com/salmanmkc) in [https://github.com/actions/runner/pull/3946](https://redirect.github.com/actions/runner/pull/3946) - Runner Support for executing Node24 Actions by [@​salmanmkc](https://redirect.github.com/salmanmkc) in [https://github.com/actions/runner/pull/3940](https://redirect.github.com/actions/runner/pull/3940) - Update dotnet sdk to latest version [@​8](https://redirect.github.com/8).0.412 by [@​github-actions](https://redirect.github.com/github-actions)\[bot] in[https://github.com/actions/runner/pull/3941](https://redirect.github.com/actions/runner/pull/3941)1 #### New Contributors - [@​salmanmkc](https://redirect.github.com/salmanmkc) made their first contribution in [https://github.com/actions/runner/pull/3946](https://redirect.github.com/actions/runner/pull/3946) **Full Changelog**: https://github.com/actions/runner/compare/v2.326.0...v2.327.0 *Note: Actions Runner follows a progressive release policy, so the latest release might not be available to your enterprise, organization, or repository yet. To confirm which version of the Actions Runner you should expect, please view the download instructions for your enterprise, organization, or repository. See https://docs.github.com/en/enterprise-cloud@latest/actions/hosting-your-own-runners/adding-self-hosted-runners* #### Windows x64 We recommend configuring the runner in a root folder of the Windows drive (e.g. "C:\actions-runner"). This will help avoid issues related to service identity folder permissions and long file path restrictions on Windows. The following snipped needs to be run on `powershell`: ```powershell ### Create a folder under the drive root mkdir \actions-runner ; cd \actions-runner ### Download the latest runner package Invoke-WebRequest -Uri https://github.com/actions/runner/releases/download/v2.327.0/actions-runner-win-x64-2.327.0.zip -OutFile actions-runner-win-x64-2.327.0.zip ### Extract the installer Add-Type -AssemblyName System.IO.Compression.FileSystem ; [System.IO.Compression.ZipFile]::ExtractToDirectory("$PWD\actions-runner-win-x64-2.327.0.zip", "$PWD") ``` #### Windows arm64 We recommend configuring the runner in a root folder of the Windows drive (e.g. "C:\actions-runner"). This will help avoid issues related to service identity folder permissions and long file path restrictions on Windows. The following snipped needs to be run on `powershell`: ```powershell ### Create a folder under the drive root mkdir \actions-runner ; cd \actions-runner ### Download the latest runner package Invoke-WebRequest -Uri https://github.com/actions/runner/releases/download/v2.327.0/actions-runner-win-arm64-2.327.0.zip -OutFile actions-runner-win-arm64-2.327.0.zip ### Extract the installer Add-Type -AssemblyName System.IO.Compression.FileSystem ; [System.IO.Compression.ZipFile]::ExtractToDirectory("$PWD\actions-runner-win-arm64-2.327.0.zip", "$PWD") ``` #### OSX x64 ```bash ### Create a folder mkdir actions-runner && cd actions-runner ### Download the latest runner package curl -O -L https://github.com/actions/runner/releases/download/v2.327.0/actions-runner-osx-x64-2.327.0.tar.gz ### Extract the installer tar xzf ./actions-runner-osx-x64-2.327.0.tar.gz ``` #### OSX arm64 (Apple silicon) ```bash ### Create a folder mkdir actions-runner && cd actions-runner ### Download the latest runner package curl -O -L https://github.com/actions/runner/releases/download/v2.327.0/actions-runner-osx-arm64-2.327.0.tar.gz ### Extract the installer tar xzf ./actions-runner-osx-arm64-2.327.0.tar.gz ``` #### Linux x64 ```bash ### Create a folder mkdir actions-runner && cd actions-runner ### Download the latest runner package curl -O -L https://github.com/actions/runner/releases/download/v2.327.0/actions-runner-linux-x64-2.327.0.tar.gz ### Extract the installer tar xzf ./actions-runner-linux-x64-2.327.0.tar.gz ``` #### Linux arm64 ```bash ### Create a folder mkdir actions-runner && cd actions-runner ### Download the latest runner package curl -O -L https://github.com/actions/runner/releases/download/v2.327.0/actions-runner-linux-arm64-2.327.0.tar.gz ### Extract the installer tar xzf ./actions-runner-linux-arm64-2.327.0.tar.gz ``` #### Linux arm ```bash ### Create a folder mkdir actions-runner && cd actions-runner ### Download the latest runner package curl -O -L https://github.com/actions/runner/releases/download/v2.327.0/actions-runner-linux-arm-2.327.0.tar.gz ### Extract the installer tar xzf ./actions-runner-linux-arm-2.327.0.tar.gz ``` #### Using your self hosted runner For additional details about configuring, running, or shutting down the runner please check out our [product docs.](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/adding-self-hosted-runners) #### SHA-256 Checksums The SHA-256 checksums for the packages included in this build are shown below: - actions-runner-win-x64-2.327.0.zip <!-- BEGIN SHA win-x64 -->98588fe278e68b8988ea4fad7d0233a4544592b5d2ee09ed8f73f9a0c86d0190<!-- END SHA win-x64 --> - actions-runner-win-arm64-2.327.0.zip <!-- BEGIN SHA win-arm64 -->efcc44a40ce612ee3b0d4928a9325df3689911d59559d20b3902434399b65bac<!-- END SHA win-arm64 --> - actions-runner-osx-x64-2.327.0.tar.gz <!-- BEGIN SHA osx-x64 -->2e9f16999a83f39969186e76abb2ba726c04e11dc98986de7d9e494fe0236d0f<!-- END SHA osx-x64 --> - actions-runner-osx-arm64-2.327.0.tar.gz <!-- BEGIN SHA osx-arm64 -->dd0753890663023646d7c9739f9fd2b4b85dadbdc023bfacc688dda8fa7b16f5<!-- END SHA osx-arm64 --> - actions-runner-linux-x64-2.327.0.tar.gz <!-- BEGIN SHA linux-x64 -->697deac53b39b72396c6fe3fe3b10bdc05cf59c12e82295a2e6decc53ca7d3e4<!-- END SHA linux-x64 --> - actions-runner-linux-arm64-2.327.0.tar.gz <!-- BEGIN SHA linux-arm64 -->5d41da47727514b3ee77974362171582b791f600b2a4e74b2fe3decb52f8d0c1<!-- END SHA linux-arm64 --> - actions-runner-linux-arm-2.327.0.tar.gz <!-- BEGIN SHA linux-arm -->f73583e4b80917ba84977eeae2fa9c09b030cde97461f71e5414deba5291a8dd<!-- END SHA linux-arm --> </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4yMC4wIiwidXBkYXRlZEluVmVyIjoiNDEuMjAuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJhdXRvbWVyZ2UiLCJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL21pbm9yIl19-->
224 lines
8.3 KiB
Docker
224 lines
8.3 KiB
Docker
# Define Chart Releaser
|
|
# hadolint ignore=DL3007
|
|
FROM ghcr.io/actions/actions-runner:2.327.1@sha256:551dc313e6b6ef1ca7b9594d8090a7a6cc7aeb663f1079ba2fec07e9158f3259
|
|
|
|
SHELL ["/bin/bash", "-c"]
|
|
|
|
# Environment variables for the versions of the tools
|
|
ENV kubectlVersion=1.21.0
|
|
ENV kustomizeVersion=4.4.1
|
|
ENV helmVersion=3.14.4
|
|
ENV oldhelmVersion=3.12.1
|
|
ENV kubevalVersion=0.15.0
|
|
ENV kubeconformVersion=0.4.12
|
|
ENV conftestVersion=0.25.0
|
|
ENV goyqVersion=4.44.1
|
|
ENV rancherVersion=2.8.4
|
|
ENV tiltVersion=0.33.14
|
|
ENV skaffoldVersion=1.28.0
|
|
ENV kubeScoreVersion=1.18.0
|
|
ENV chartReleaserVersion=1.6.1
|
|
ENV chartTestingVersion=3.11.0
|
|
|
|
# Default architecture
|
|
ENV arch=amd64
|
|
|
|
ENV HOMEBREW_NO_ANALYTICS=1 \
|
|
HOMEBREW_NO_ENV_HINTS=1 \
|
|
HOMEBREW_NO_INSTALL_CLEANUP=1 \
|
|
DEBCONF_NONINTERACTIVE_SEEN=true \
|
|
DEBIAN_FRONTEND="noninteractive" \
|
|
APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=DontWarn
|
|
|
|
USER root
|
|
|
|
# Install base packages
|
|
# hadolint ignore=DL3008,DL3015,SC2086,SC2155
|
|
RUN \
|
|
apt-get update \
|
|
&& \
|
|
apt-get install -y --no-install-recommends --no-install-suggests \
|
|
apt-transport-https \
|
|
ca-certificates \
|
|
curl \
|
|
gcc \
|
|
git \
|
|
gnupg \
|
|
gzip \
|
|
jo \
|
|
jq \
|
|
moreutils \
|
|
tar \
|
|
unrar \
|
|
unzip \
|
|
wget \
|
|
zip \
|
|
webp \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Create a directory for the tools
|
|
RUN mkdir -p /tools/bin
|
|
|
|
# Set the PATH
|
|
ENV PATH="/tools/bin:${PATH}"
|
|
|
|
# Install python packages
|
|
# hadolint ignore=DL3008,DL3015,SC2086,SC2155
|
|
RUN \
|
|
apt-get update \
|
|
&& \
|
|
apt-get install -y --no-install-recommends --no-install-suggests \
|
|
python3 \
|
|
python3-pip \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Install cwebp for website repo
|
|
# hadolint ignore=DL3008,DL3015,SC2086,SC2155
|
|
RUN \
|
|
apt-get update \
|
|
&& \
|
|
apt-get install -y --no-install-recommends --no-install-suggests \
|
|
webp \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
### Kubernetes-Tools Installer
|
|
|
|
# Define download and extraction commands
|
|
RUN set -eux; \
|
|
download_and_extract() { \
|
|
url=$1; \
|
|
dest_dir=$2; \
|
|
command_path=$3; \
|
|
curl -L "$url" -o temp_archive; \
|
|
if [[ "$url" == *.tar.gz || "$url" == *.tgz ]]; then \
|
|
tar -xzf temp_archive -C "$dest_dir" --strip-components=$(dirname "$command_path" | grep -o "/" | wc -l) || tar -xvpf temp_archive -C "$dest_dir" --strip-components=$(dirname "$command_path" | grep -o "/" | wc -l); \
|
|
elif [[ "$url" == *.zip ]]; then \
|
|
unzip temp_archive -d "$dest_dir"; \
|
|
else \
|
|
cp temp_archive "$dest_dir/$(basename "$command_path")"; \
|
|
fi; \
|
|
rm temp_archive; \
|
|
}; \
|
|
download_and_copy() { \
|
|
tool=$1; \
|
|
version=$2; \
|
|
rename="${3:-$tool}"; \
|
|
url=""; \
|
|
command_path_in_package="$(basename $tool)"; \
|
|
if [ "$arch" = "amd64" ]; then arch_path="amd64"; elif [ "$arch" = "arm64" ]; then arch_path="arm64"; else arch_path="arm"; fi; \
|
|
if [ "$arch" = "amd64" ]; then xarch="x86_64"; elif [ "$arch" = "arm64" ]; then xarch="arm64"; else xarch="arm"; fi; \
|
|
case "$tool" in \
|
|
kubectl) \
|
|
url="https://dl.k8s.io/release/v${version}/bin/linux/${arch}/kubectl"; \
|
|
;; \
|
|
kustomize) \
|
|
url="https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v${version}/kustomize_v${version}_linux_${arch}.tar.gz"; \
|
|
;; \
|
|
helm) \
|
|
url="https://get.helm.sh/helm-v${version}-linux-${arch}.tar.gz"; \
|
|
command_path_in_package="linux-${arch_path}/helm"; \
|
|
;; \
|
|
kubeval) \
|
|
url="https://github.com/instrumenta/kubeval/releases/download/${version}/kubeval-linux-${arch}.tar.gz"; \
|
|
;; \
|
|
kubeconform) \
|
|
url="https://github.com/yannh/kubeconform/releases/download/v${version}/kubeconform-linux-${arch}.tar.gz"; \
|
|
;; \
|
|
conftest) \
|
|
url="https://github.com/open-policy-agent/conftest/releases/download/v${version}/conftest_${version}_Linux_${xarch}.tar.gz"; \
|
|
;; \
|
|
go-yq) \
|
|
url="https://github.com/mikefarah/yq/releases/download/v${version}/yq_linux_${arch}"; \
|
|
command_path_in_package="yq_linux_${arch}"; \
|
|
;; \
|
|
rancher) \
|
|
url="https://github.com/rancher/cli/releases/download/v${version}/rancher-linux-${arch}-v${version}.tar.gz"; \
|
|
command_path_in_package="rancher-v${version}/rancher"; \
|
|
;; \
|
|
tilt) \
|
|
url="https://github.com/tilt-dev/tilt/releases/download/v${version}/tilt.${version}.linux.${xarch}.tar.gz"; \
|
|
;; \
|
|
skaffold) \
|
|
url="https://storage.googleapis.com/skaffold/releases/v${version}/skaffold-linux-${arch}"; \
|
|
command_path_in_package="skaffold-linux-${arch}"; \
|
|
;; \
|
|
kube-score) \
|
|
url="https://github.com/zegl/kube-score/releases/download/v${version}/kube-score_${version}_linux_${arch}.tar.gz"; \
|
|
;; \
|
|
chart-releaser) \
|
|
url="https://github.com/helm/chart-releaser/releases/download/v${version}/chart-releaser_${version}_linux_${arch}.tar.gz"; \
|
|
command_path_in_package="cr"; \
|
|
rename="cr"; \
|
|
;; \
|
|
chart-testing) \
|
|
url="https://github.com/helm/chart-testing/releases/download/v${version}/chart-testing_${version}_linux_${arch}.tar.gz"; \
|
|
command_path_in_package="ct"; \
|
|
rename="ct"; \
|
|
;; \
|
|
*) echo "Unknown tool: $tool"; exit 1 ;; \
|
|
esac; \
|
|
mkdir -p /tools/${tool}; \
|
|
download_and_extract "$url" "/tools/${tool}" "$command_path_in_package"; \
|
|
cp "/tools/${tool}/$command_path_in_package" "/tools/bin/$rename"; \
|
|
rm -rf "/tools/${tool}"; \
|
|
chmod 666 "/tools/bin/$rename"; \
|
|
chmod +x "/tools/bin/$rename"; \
|
|
}; \
|
|
# Download and copy each tool
|
|
download_and_copy "kubectl" "$kubectlVersion"; \
|
|
download_and_copy "kustomize" "$kustomizeVersion"; \
|
|
download_and_copy "helm" "$helmVersion"; \
|
|
download_and_copy "helm" "$oldhelmVersion" "oldhelm"; \
|
|
download_and_copy "kubeval" "$kubevalVersion"; \
|
|
download_and_copy "kubeconform" "$kubeconformVersion"; \
|
|
download_and_copy "conftest" "$conftestVersion"; \
|
|
download_and_copy "go-yq" "$goyqVersion"; \
|
|
download_and_copy "rancher" "$rancherVersion"; \
|
|
download_and_copy "tilt" "$tiltVersion"; \
|
|
download_and_copy "skaffold" "$skaffoldVersion"; \
|
|
download_and_copy "kube-score" "$kubeScoreVersion"; \
|
|
download_and_copy "chart-releaser" "$chartReleaserVersion"; \
|
|
download_and_copy "chart-testing" "$chartTestingVersion";
|
|
|
|
# Install Pre-Commit
|
|
# hadolint ignore=DL3008,DL3015,SC2086,SC2155
|
|
RUN \
|
|
apt-get update \
|
|
&& \
|
|
apt-get install -y --no-install-recommends --no-install-suggests \
|
|
pre-commit \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Install golang
|
|
|
|
COPY --from=golang:1.24.5@sha256:ef5b4be1f94b36c90385abd9b6b4f201723ae28e71acacb76d00687333c17282 /usr/local/go/ /usr/local/go/
|
|
|
|
ENV GOPATH /go
|
|
ENV PATH $GOPATH/bin:$PATH
|
|
|
|
# hadolint ignore=DL3008,DL3015,SC2086,SC2155
|
|
RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH"
|
|
|
|
# don't auto-upgrade the gotoolchain
|
|
# https://github.com/docker-library/golang/issues/472
|
|
ENV GOTOOLCHAIN=local
|
|
|
|
USER runner
|
|
|
|
# Install homebrew
|
|
# hadolint ignore=DL3008,DL3015,SC2086,SC2155
|
|
RUN /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
|
|
|
|
LABEL "maintainer"="TrueCharts <info@truecharts.org>"
|
|
LABEL "org.opencontainers.image.source"="https://github.com/truecharts/apps"
|
|
|
|
ARG CONTAINER_NAME
|
|
ARG CONTAINER_VER
|
|
LABEL org.opencontainers.image.licenses="All-Rights-Reserved"
|
|
LABEL org.opencontainers.image.title="${CONTAINER_NAME}"
|
|
LABEL org.opencontainers.image.url="https://truecharts.org/docs/charts/${CONTAINER_NAME}"
|
|
LABEL org.opencontainers.image.version="${CONTAINER_VER}"
|
|
LABEL org.opencontainers.image.description="Container for ${CONTAINER_NAME} by TrueCharts"
|
|
LABEL org.opencontainers.image.authors="TrueCharts"
|
|
LABEL org.opencontainers.image.documentation="https://truecharts.org/docs/charts/${CONTAINER_NAME}"
|