feat(containers)!: Remove support for building containers from this repo

This commit is contained in:
Kjeld Schouten
2025-10-06 18:29:51 +02:00
parent d15b91a0c7
commit 17f82c79b1
32 changed files with 2 additions and 515 deletions

View File

@@ -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" || \

View File

@@ -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

View File

@@ -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 <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}"

View File

@@ -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 Licenses 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 Licenses 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.

View File

@@ -1 +0,0 @@
0.5.1

View File

@@ -1,3 +0,0 @@
#!/usr/bin/env bash
printf "%s" "0.5.1"

View File

@@ -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}"

View File

@@ -1 +0,0 @@
linux/amd64

View File

@@ -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}"

View File

@@ -1 +0,0 @@
linux/amd64

View File

@@ -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}"

View File

@@ -1 +0,0 @@
linux/amd64

View File

@@ -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}"

View File

@@ -1 +0,0 @@
linux/amd64

View File

@@ -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}"

View File

@@ -1 +0,0 @@
linux/amd64

View File

@@ -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

View File

@@ -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 <info@truecharts.org>"
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}"

View File

@@ -1 +0,0 @@
linux/amd64

View File

@@ -1,7 +0,0 @@
#!/usr/bin/env bash
#shellcheck disable=SC1091
source "/shim/umask.sh"
source "/shim/vpn.sh"
exec "$@"

View File

@@ -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