From 17f82c79b1f43ce33ce123c614cb5cf659a4f3cb Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Mon, 6 Oct 2025 18:29:51 +0200 Subject: [PATCH] feat(containers)!: Remove support for building containers from this repo --- .github/workflows/pr-validate.yaml | 5 - .pre-commit-config.yaml | 4 +- .../container-tools}/.pre-commit-config.yaml | 0 .../container-tools}/README.md | 0 .../container-tools}/createmirror.sh | 0 .../container-tools}/scarf.sh | 0 .../container-tools}/to-mirror.sh | 0 .../container-tools}/to-mirror.txt | 0 .../scripts/update-version-file.sh | 0 .../workflows/containers.build.yaml | 0 .../workflows/containers.housekeeping.yaml | 0 .../workflows/containers.scarf.yaml | 0 {.github => archive}/workflows/prune.yaml | 0 containers/apps/charts-ci/Dockerfile | 223 ------------------ containers/apps/charts-ci/LICENSE | 106 --------- containers/apps/charts-ci/VERSION | 1 - containers/apps/charts-ci/latest-version.sh | 3 - containers/apps/code-server/Dockerfile | 12 - containers/apps/code-server/PLATFORM | 1 - containers/apps/gluetun/Dockerfile | 12 - containers/apps/gluetun/PLATFORM | 1 - containers/apps/netshoot/Dockerfile | 12 - containers/apps/netshoot/PLATFORM | 1 - containers/apps/tailscale/Dockerfile | 11 - containers/apps/tailscale/PLATFORM | 1 - containers/apps/traefik/Dockerfile | 51 ---- containers/apps/traefik/PLATFORM | 1 - containers/apps/traefik/clone-plugins.sh | 20 -- containers/apps/vscode-tunnel/Dockerfile | 33 --- containers/apps/vscode-tunnel/PLATFORM | 1 - containers/apps/vscode-tunnel/entrypoint.sh | 7 - containers/tools/to-mirror.sh | 11 - 32 files changed, 2 insertions(+), 515 deletions(-) rename {containers => archive/container-tools}/.pre-commit-config.yaml (100%) rename {containers => archive/container-tools}/README.md (100%) rename {containers/tools => archive/container-tools}/createmirror.sh (100%) rename {containers/tools => archive/container-tools}/scarf.sh (100%) rename {containers => archive/container-tools}/to-mirror.sh (100%) rename {containers => archive/container-tools}/to-mirror.txt (100%) rename {.github => archive}/scripts/update-version-file.sh (100%) rename {.github => archive}/workflows/containers.build.yaml (100%) rename {.github => archive}/workflows/containers.housekeeping.yaml (100%) rename {.github => archive}/workflows/containers.scarf.yaml (100%) rename {.github => archive}/workflows/prune.yaml (100%) delete mode 100644 containers/apps/charts-ci/Dockerfile delete mode 100644 containers/apps/charts-ci/LICENSE delete mode 100644 containers/apps/charts-ci/VERSION delete mode 100755 containers/apps/charts-ci/latest-version.sh delete mode 100644 containers/apps/code-server/Dockerfile delete mode 100644 containers/apps/code-server/PLATFORM delete mode 100644 containers/apps/gluetun/Dockerfile delete mode 100644 containers/apps/gluetun/PLATFORM delete mode 100644 containers/apps/netshoot/Dockerfile delete mode 100644 containers/apps/netshoot/PLATFORM delete mode 100644 containers/apps/tailscale/Dockerfile delete mode 100644 containers/apps/tailscale/PLATFORM delete mode 100644 containers/apps/traefik/Dockerfile delete mode 100644 containers/apps/traefik/PLATFORM delete mode 100755 containers/apps/traefik/clone-plugins.sh delete mode 100644 containers/apps/vscode-tunnel/Dockerfile delete mode 100644 containers/apps/vscode-tunnel/PLATFORM delete mode 100755 containers/apps/vscode-tunnel/entrypoint.sh delete mode 100755 containers/tools/to-mirror.sh diff --git a/.github/workflows/pr-validate.yaml b/.github/workflows/pr-validate.yaml index bb55c87a1b1..5d6af799c3f 100644 --- a/.github/workflows/pr-validate.yaml +++ b/.github/workflows/pr-validate.yaml @@ -23,9 +23,6 @@ jobs: id: collect-changes uses: ./.github/actions/collect-changes - containers-build: - uses: ./.github/workflows/containers.build.yaml - common-tests: uses: ./.github/workflows/common-tests.yaml @@ -81,7 +78,6 @@ jobs: if: always() needs: - pr-changes - - containers-build - charts-lint - charts-test - clustertool-tests @@ -92,7 +88,6 @@ jobs: - name: Check Results run: | if [[ "${{ needs.pr-changes.result }}" != "success" || \ - "${{ needs.containers-build.result }}" != "success" || \ "${{ needs.charts-lint.result }}" != "success" || \ "${{ needs.clustertool-tests.result }}" != "success" || \ "${{ needs.charts-test.result }}" != "success" || \ diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 56b10c9c089..30171328ffd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,9 +21,9 @@ repos: - id: check-case-conflict # checks for files that would conflict in case-insensitive filesystems. exclude: ^archive/ - id: check-executables-have-shebangs # ensures that (non-binary) executables have a shebang. - exclude: (^archive/|^website\/public|^containers/) + exclude: (^archive/|^website\/public) - id: check-shebang-scripts-are-executable # ensures that (non-binary) files with a shebang are executable. - exclude: (^archive/|^website\/public|^containers/) + exclude: (^archive/|^website\/public) - id: check-docstring-first exclude: ^archive/ - id: check-symlinks diff --git a/containers/.pre-commit-config.yaml b/archive/container-tools/.pre-commit-config.yaml similarity index 100% rename from containers/.pre-commit-config.yaml rename to archive/container-tools/.pre-commit-config.yaml diff --git a/containers/README.md b/archive/container-tools/README.md similarity index 100% rename from containers/README.md rename to archive/container-tools/README.md diff --git a/containers/tools/createmirror.sh b/archive/container-tools/createmirror.sh similarity index 100% rename from containers/tools/createmirror.sh rename to archive/container-tools/createmirror.sh diff --git a/containers/tools/scarf.sh b/archive/container-tools/scarf.sh similarity index 100% rename from containers/tools/scarf.sh rename to archive/container-tools/scarf.sh diff --git a/containers/to-mirror.sh b/archive/container-tools/to-mirror.sh similarity index 100% rename from containers/to-mirror.sh rename to archive/container-tools/to-mirror.sh diff --git a/containers/to-mirror.txt b/archive/container-tools/to-mirror.txt similarity index 100% rename from containers/to-mirror.txt rename to archive/container-tools/to-mirror.txt diff --git a/.github/scripts/update-version-file.sh b/archive/scripts/update-version-file.sh similarity index 100% rename from .github/scripts/update-version-file.sh rename to archive/scripts/update-version-file.sh diff --git a/.github/workflows/containers.build.yaml b/archive/workflows/containers.build.yaml similarity index 100% rename from .github/workflows/containers.build.yaml rename to archive/workflows/containers.build.yaml diff --git a/.github/workflows/containers.housekeeping.yaml b/archive/workflows/containers.housekeeping.yaml similarity index 100% rename from .github/workflows/containers.housekeeping.yaml rename to archive/workflows/containers.housekeeping.yaml diff --git a/.github/workflows/containers.scarf.yaml b/archive/workflows/containers.scarf.yaml similarity index 100% rename from .github/workflows/containers.scarf.yaml rename to archive/workflows/containers.scarf.yaml diff --git a/.github/workflows/prune.yaml b/archive/workflows/prune.yaml similarity index 100% rename from .github/workflows/prune.yaml rename to archive/workflows/prune.yaml diff --git a/containers/apps/charts-ci/Dockerfile b/containers/apps/charts-ci/Dockerfile deleted file mode 100644 index c9bdc983808..00000000000 --- a/containers/apps/charts-ci/Dockerfile +++ /dev/null @@ -1,223 +0,0 @@ -# Define Chart Releaser -# hadolint ignore=DL3007 -FROM ghcr.io/actions/actions-runner:2.328.0@sha256:db0dcae6d28559e54277755a33aba7d0665f255b3bd2a66cdc5e132712f155e0 - -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.25.1@sha256:ab1f5c47de0f2693ed97c46a646bde2e4f380e40c173454d00352940a379af60 /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 " -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}" diff --git a/containers/apps/charts-ci/LICENSE b/containers/apps/charts-ci/LICENSE deleted file mode 100644 index 33a8cbb23f0..00000000000 --- a/containers/apps/charts-ci/LICENSE +++ /dev/null @@ -1,106 +0,0 @@ -Business Source License 1.1 - -Parameters - -Licensor: The TrueCharts Project, it's owner and it's contributors -Licensed Work: The TrueCharts "Blocky" Helm Chart -Additional Use Grant: You may use the licensed work in production, as long - as it is directly sourced from a TrueCharts provided - official repository, catalog or source. You may also make private - modification to the directly sourced licenced work, - when used in production. - - The following cases are, due to their nature, also - defined as 'production use' and explicitly prohibited: - - Bundling, including or displaying the licensed work - with(in) another work intended for production use, - with the apparent intend of facilitating and/or - promoting production use by third parties in - violation of this license. - -Change Date: 2050-01-01 - -Change License: 3-clause BSD license - -For information about alternative licensing arrangements for the Software, -please contact: legal@truecharts.org - -Notice - -The Business Source License (this document, or the “License”) is not an Open -Source license. However, the Licensed Work will eventually be made available -under an Open Source License, as stated in this License. - -License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved. -“Business Source License” is a trademark of MariaDB Corporation Ab. - ------------------------------------------------------------------------------ - -Business Source License 1.1 - -Terms - -The Licensor hereby grants you the right to copy, modify, create derivative -works, redistribute, and make non-production use of the Licensed Work. The -Licensor may make an Additional Use Grant, above, permitting limited -production use. - -Effective on the Change Date, or the fourth anniversary of the first publicly -available distribution of a specific version of the Licensed Work under this -License, whichever comes first, the Licensor hereby grants you rights under -the terms of the Change License, and the rights granted in the paragraph -above terminate. - -If your use of the Licensed Work does not comply with the requirements -currently in effect as described in this License, you must purchase a -commercial license from the Licensor, its affiliated entities, or authorized -resellers, or you must refrain from using the Licensed Work. - -All copies of the original and modified Licensed Work, and derivative works -of the Licensed Work, are subject to this License. This License applies -separately for each version of the Licensed Work and the Change Date may vary -for each version of the Licensed Work released by Licensor. - -You must conspicuously display this License on each original or modified copy -of the Licensed Work. If you receive the Licensed Work in original or -modified form from a third party, the terms and conditions set forth in this -License apply to your use of that work. - -Any use of the Licensed Work in violation of this License will automatically -terminate your rights under this License for the current and all other -versions of the Licensed Work. - -This License does not grant you any right in any trademark or logo of -Licensor or its affiliates (provided that you may use a trademark or logo of -Licensor as expressly required by this License). - -TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON -AN “AS IS” BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS, -EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND -TITLE. - -MariaDB hereby grants you permission to use this License’s text to license -your works, and to refer to it using the trademark “Business Source License”, -as long as you comply with the Covenants of Licensor below. - -Covenants of Licensor - -In consideration of the right to use this License’s text and the “Business -Source License” name and trademark, Licensor covenants to MariaDB, and to all -other recipients of the licensed work to be provided by Licensor: - -1. To specify as the Change License the GPL Version 2.0 or any later version, - or a license that is compatible with GPL Version 2.0 or a later version, - where “compatible” means that software provided under the Change License can - be included in a program with software provided under GPL Version 2.0 or a - later version. Licensor may specify additional Change Licenses without - limitation. - -2. To either: (a) specify an additional grant of rights to use that does not - impose any additional restriction on the right granted in this License, as - the Additional Use Grant; or (b) insert the text “None”. - -3. To specify a Change Date. - -4. Not to modify this License in any other way. diff --git a/containers/apps/charts-ci/VERSION b/containers/apps/charts-ci/VERSION deleted file mode 100644 index 4b9fcbec101..00000000000 --- a/containers/apps/charts-ci/VERSION +++ /dev/null @@ -1 +0,0 @@ -0.5.1 diff --git a/containers/apps/charts-ci/latest-version.sh b/containers/apps/charts-ci/latest-version.sh deleted file mode 100755 index e56e055e340..00000000000 --- a/containers/apps/charts-ci/latest-version.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env bash - -printf "%s" "0.5.1" diff --git a/containers/apps/code-server/Dockerfile b/containers/apps/code-server/Dockerfile deleted file mode 100644 index c7393264c94..00000000000 --- a/containers/apps/code-server/Dockerfile +++ /dev/null @@ -1,12 +0,0 @@ -FROM docker.io/codercom/code-server:4.104.2@sha256:6edc8e2d2849749c1a1a5eff8e76563b96db407e68899c143473a6004d0a6b5a - -LABEL "org.opencontainers.image.source"="https://github.com/truecharts/containers" - -ARG CONTAINER_NAME -ARG CONTAINER_VER -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}" diff --git a/containers/apps/code-server/PLATFORM b/containers/apps/code-server/PLATFORM deleted file mode 100644 index 303dc7a5a77..00000000000 --- a/containers/apps/code-server/PLATFORM +++ /dev/null @@ -1 +0,0 @@ -linux/amd64 diff --git a/containers/apps/gluetun/Dockerfile b/containers/apps/gluetun/Dockerfile deleted file mode 100644 index e5ad186f5f5..00000000000 --- a/containers/apps/gluetun/Dockerfile +++ /dev/null @@ -1,12 +0,0 @@ -FROM ghcr.io/qdm12/gluetun:v3.40.0@sha256:2b42bfa046757145a5155acece417b65b4443c8033fb88661a8e9dcf7fda5a00 - -LABEL "org.opencontainers.image.source"="https://github.com/truecharts/containers" - -ARG CONTAINER_NAME -ARG CONTAINER_VER -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}" diff --git a/containers/apps/gluetun/PLATFORM b/containers/apps/gluetun/PLATFORM deleted file mode 100644 index 303dc7a5a77..00000000000 --- a/containers/apps/gluetun/PLATFORM +++ /dev/null @@ -1 +0,0 @@ -linux/amd64 diff --git a/containers/apps/netshoot/Dockerfile b/containers/apps/netshoot/Dockerfile deleted file mode 100644 index cf4287bada3..00000000000 --- a/containers/apps/netshoot/Dockerfile +++ /dev/null @@ -1,12 +0,0 @@ -FROM ghcr.io/nicolaka/netshoot:v0.14@sha256:7f08c4aff13ff61a35d30e30c5c1ea8396eac6ab4ce19fd02d5a4b3b5d0d09a2 - -LABEL "org.opencontainers.image.source"="https://github.com/truecharts/containers" - -ARG CONTAINER_NAME -ARG CONTAINER_VER -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}" diff --git a/containers/apps/netshoot/PLATFORM b/containers/apps/netshoot/PLATFORM deleted file mode 100644 index 303dc7a5a77..00000000000 --- a/containers/apps/netshoot/PLATFORM +++ /dev/null @@ -1 +0,0 @@ -linux/amd64 diff --git a/containers/apps/tailscale/Dockerfile b/containers/apps/tailscale/Dockerfile deleted file mode 100644 index 61932cab1eb..00000000000 --- a/containers/apps/tailscale/Dockerfile +++ /dev/null @@ -1,11 +0,0 @@ -FROM docker.io/tailscale/tailscale:v1.88.3@sha256:b2a19f6b6402adc26a2aa8cb90da66afe3061e718ac67ed3f21ec3d4b366439f -LABEL "org.opencontainers.image.source"="https://github.com/truecharts/containers" - -ARG CONTAINER_NAME -ARG CONTAINER_VER -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}" diff --git a/containers/apps/tailscale/PLATFORM b/containers/apps/tailscale/PLATFORM deleted file mode 100644 index 303dc7a5a77..00000000000 --- a/containers/apps/tailscale/PLATFORM +++ /dev/null @@ -1 +0,0 @@ -linux/amd64 diff --git a/containers/apps/traefik/Dockerfile b/containers/apps/traefik/Dockerfile deleted file mode 100644 index 19c94852f27..00000000000 --- a/containers/apps/traefik/Dockerfile +++ /dev/null @@ -1,51 +0,0 @@ -FROM public.ecr.aws/docker/library/traefik:3.5.3@sha256:84eb6c0e67c99fa026bf1bf4b0afd9ad44350d375b4ebc5049c5f70543a729d6 -# Above line used by CI to find tags etc - -FROM public.ecr.aws/docker/library/alpine:3.22.1@sha256:4bcff63911fcb4448bd4fdacec207030997caf25e9bea4045fa6c8c44de311d1 as plugins - -# FIXME: Find a way to keep versions up to date -# -- Use the following prefixes to specify plugins to clone -# - TC_PLUGIN_REPO_* for the repo/package name -# - TC_PLUGIN_VERSION_* for the version - -# Theme Park -ARG TC_PLUGIN_REPO_THEME_PARK=github.com/packruler/traefik-themepark -ARG TC_PLUGIN_VERSION_THEME_PARK_VERSION=v1.4.2 -# GeoBlock -ARG TC_PLUGIN_REPO_GEOBLOCK=github.com/PascalMinder/geoblock -ARG TC_PLUGIN_VERSION_GEOBLOCK_VERSION=v0.2.8 -# RealIP -ARG TC_PLUGIN_REPO_REALIP=github.com/jramsgz/traefik-real-ip -ARG TC_PLUGIN_VERSION_REALIP_VERSION=v1.0.6 -# Modsecurity -ARG TC_PLUGIN_REPO_MODSECURITY=github.com/acouvreur/traefik-modsecurity-plugin -ARG TC_PLUGIN_VERSION_MODSECURITY_VERSION=v1.3.0 -# Crowdsec -ARG TC_PLUGIN_REPO_CROWDSEC_BOUNCER=github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin -ARG TC_PLUGIN_VERSION_CROWDSEC_BOUNCER_VERSION=v1.3.5 -# RewriteResponseHeaders -ARG TC_PLUGIN_REPO_REWRITERESPONSEHEADERS=github.com/XciD/traefik-plugin-rewrite-headers -ARG TC_PLUGIN_VERSION_REWRITERESPONSEHEADERS_VERSION=v0.0.4 - -SHELL ["/bin/ash", "-eo", "pipefail", "-c"] - -# hadolint ignore=DL3018 -RUN apk add --no-cache --update git - -COPY --chmod=777 ./containers/apps/traefik/clone-plugins.sh /clone-plugins.sh -RUN /clone-plugins.sh - -FROM traefik:v3.5.3@sha256:84eb6c0e67c99fa026bf1bf4b0afd9ad44350d375b4ebc5049c5f70543a729d6 -# Copy the plugins from the previous stage -COPY --from=plugins /plugins-local /plugins-local - -LABEL "org.opencontainers.image.source"="https://github.com/truecharts/containers" - -ARG CONTAINER_NAME -ARG CONTAINER_VER -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}" diff --git a/containers/apps/traefik/PLATFORM b/containers/apps/traefik/PLATFORM deleted file mode 100644 index 303dc7a5a77..00000000000 --- a/containers/apps/traefik/PLATFORM +++ /dev/null @@ -1 +0,0 @@ -linux/amd64 diff --git a/containers/apps/traefik/clone-plugins.sh b/containers/apps/traefik/clone-plugins.sh deleted file mode 100755 index 9f473dccf7b..00000000000 --- a/containers/apps/traefik/clone-plugins.sh +++ /dev/null @@ -1,20 +0,0 @@ -git config --global advice.detachedHead false; - -for plugin in $(env | grep "TC_PLUGIN_REPO_"); -do - # Get the variable name - plugin_name=$(echo "${plugin}" | cut -d '=' -f1); - plugin_name=${plugin_name#"TC_PLUGIN_REPO_"} - # Get the plugin repo from the variable - plugin_repo=$(echo "${plugin}" | cut -d '=' -f2); - # Get the version from the VERSION Prefixed variable - version=$(env | grep "TC_PLUGIN_VERSION_$plugin_name" | cut -d '=' -f2); - echo "${plugin_name}: Cloning ${plugin_repo} at ${version} into /plugins-local/src/${plugin_repo}"; - # Clone the single "branch" (tag) into the plugins-local folder - git clone "https://${plugin_repo}" "/plugins-local/src/${plugin_repo}" \ - --depth 1 --branch "${version}" --single-branch; -done - -echo "Plugins cloned into /plugins-local/src:" - -ls -lah /plugins-local/src diff --git a/containers/apps/vscode-tunnel/Dockerfile b/containers/apps/vscode-tunnel/Dockerfile deleted file mode 100644 index c0c058f4b2e..00000000000 --- a/containers/apps/vscode-tunnel/Dockerfile +++ /dev/null @@ -1,33 +0,0 @@ -FROM oci.trueforge.org/truecharts/ubuntu:latest@sha256:144d3bfe7088dfef5c6a62abadcb17cfb911bad92fc6eae0293ab5e633f2a1f7 - -ARG TARGETPLATFORM -ARG VERSION - -# hadolint ignore=DL3002 -USER root - -# hadolint ignore=DL3018,DL4006 -RUN apt-get update && \ - apt-get install -y git curl && \ - apt-get clean && \ - rm -rf /var/lib/apt/lists/* && \ - curl -sL "https://code.visualstudio.com/sha/download?build=stable&os=cli-alpine-x64" \ - --output /tmp/vscode-cli.tar.gz && \ - tar -xf /tmp/vscode-cli.tar.gz -C /usr/bin && \ - rm /tmp/vscode-cli.tar.gz - -USER apps - -CMD [ "code", "tunnel", "--accept-server-license-terms" ] - -ARG CONTAINER_NAME -ARG CONTAINER_VER -LABEL "maintainer"="TrueCharts " -LABEL "org.opencontainers.image.source"="https://github.com/truecharts/apps" -LABEL org.opencontainers.image.licenses="BSD-3-Clause" -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}" diff --git a/containers/apps/vscode-tunnel/PLATFORM b/containers/apps/vscode-tunnel/PLATFORM deleted file mode 100644 index 303dc7a5a77..00000000000 --- a/containers/apps/vscode-tunnel/PLATFORM +++ /dev/null @@ -1 +0,0 @@ -linux/amd64 diff --git a/containers/apps/vscode-tunnel/entrypoint.sh b/containers/apps/vscode-tunnel/entrypoint.sh deleted file mode 100755 index e9444a5a2ee..00000000000 --- a/containers/apps/vscode-tunnel/entrypoint.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env bash - -#shellcheck disable=SC1091 -source "/shim/umask.sh" -source "/shim/vpn.sh" - -exec "$@" diff --git a/containers/tools/to-mirror.sh b/containers/tools/to-mirror.sh deleted file mode 100755 index 8794e62d1db..00000000000 --- a/containers/tools/to-mirror.sh +++ /dev/null @@ -1,11 +0,0 @@ -for i in $(cat ./to-mirror.txt); do - - PLAIN=${i##*/} - PLAIN=$( echo $PLAIN | cut -d':' -f1 ) - CLEAN=${PLAIN//$'\r'/} - echo ${CLEAN##*|} - mkdir mirror/${CLEAN} - echo "FROM ${i//$'\r'/}" >> mirror/${CLEAN}/Dockerfile - echo 'LABEL "org.opencontainers.image.source"="https://github.com/truecharts/containers"' >> mirror/${CLEAN}/Dockerfile - echo "linux/amd64" >> mirror/${CLEAN}/PLATFORM - done