diff --git a/traefik/3.2.3/22.03-lts-sp1/Dockerfile b/traefik/3.2.3/22.03-lts-sp1/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..1adaf94d1bacd4f83810fb0e00d900572cbde575 --- /dev/null +++ b/traefik/3.2.3/22.03-lts-sp1/Dockerfile @@ -0,0 +1,19 @@ +ARG BASE=openeuler/openeuler:22.03-lts-sp1 +FROM ${BASE} + +ARG TARGETARCH +ARG VERSION=3.2.3 + +RUN yum -y update && \ + yum -y install wget && \ + yum clean all + +RUN wget -O /tmp/traefik.tar.gz https://github.com/traefik/traefik/releases/download/v${VERSION}/traefik_v${VERSION}_linux_${TARGETARCH}.tar.gz && \ + tar -zxvf /tmp/traefik.tar.gz -C /usr/bin traefik && \ + chmod +x /usr/bin/traefik && \ + rm -rf /tmp/traefik.tar.gz + +COPY --chmod=0755 entrypoint.sh / +EXPOSE 80 +ENTRYPOINT ["/entrypoint.sh"] +CMD ["traefik"] diff --git a/traefik/3.2.3/22.03-lts-sp1/entrypoint.sh b/traefik/3.2.3/22.03-lts-sp1/entrypoint.sh new file mode 100644 index 0000000000000000000000000000000000000000..663073dc9759941e9645786905c87d9c7ce1c7d1 --- /dev/null +++ b/traefik/3.2.3/22.03-lts-sp1/entrypoint.sh @@ -0,0 +1,18 @@ +#!/bin/sh +set -e + +# first arg is `-f` or `--some-option` +if [ "${1#-}" != "$1" ]; then + set -- traefik "$@" +fi + +# if our command is a valid Traefik subcommand, let's invoke it through Traefik instead +# (this allows for "docker run traefik version", etc) +if traefik "$1" --help >/dev/null 2>&1 +then + set -- traefik "$@" +else + echo "= '$1' is not a Traefik command: assuming shell execution." 1>&2 +fi + +exec "$@" \ No newline at end of file diff --git a/traefik/3.2.3/22.03-lts-sp3/Dockerfile b/traefik/3.2.3/22.03-lts-sp3/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..a68688f4b16414238654ea2e99aee186be73c17c --- /dev/null +++ b/traefik/3.2.3/22.03-lts-sp3/Dockerfile @@ -0,0 +1,19 @@ +ARG BASE=openeuler/openeuler:22.03-lts-sp3 +FROM ${BASE} + +ARG TARGETARCH +ARG VERSION=3.2.3 + +RUN yum -y update && \ + yum -y install wget && \ + yum clean all + +RUN wget -O /tmp/traefik.tar.gz https://github.com/traefik/traefik/releases/download/v${VERSION}/traefik_v${VERSION}_linux_${TARGETARCH}.tar.gz && \ + tar -zxvf /tmp/traefik.tar.gz -C /usr/bin traefik && \ + chmod +x /usr/bin/traefik && \ + rm -rf /tmp/traefik.tar.gz + +COPY --chmod=0755 entrypoint.sh / +EXPOSE 80 +ENTRYPOINT ["/entrypoint.sh"] +CMD ["traefik"] diff --git a/traefik/3.2.3/22.03-lts-sp3/entrypoint.sh b/traefik/3.2.3/22.03-lts-sp3/entrypoint.sh new file mode 100644 index 0000000000000000000000000000000000000000..663073dc9759941e9645786905c87d9c7ce1c7d1 --- /dev/null +++ b/traefik/3.2.3/22.03-lts-sp3/entrypoint.sh @@ -0,0 +1,18 @@ +#!/bin/sh +set -e + +# first arg is `-f` or `--some-option` +if [ "${1#-}" != "$1" ]; then + set -- traefik "$@" +fi + +# if our command is a valid Traefik subcommand, let's invoke it through Traefik instead +# (this allows for "docker run traefik version", etc) +if traefik "$1" --help >/dev/null 2>&1 +then + set -- traefik "$@" +else + echo "= '$1' is not a Traefik command: assuming shell execution." 1>&2 +fi + +exec "$@" \ No newline at end of file diff --git a/traefik/3.2.3/22.03-lts-sp4/Dockerfile b/traefik/3.2.3/22.03-lts-sp4/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..73bcede0418e9e6e3eb1ff784d64bc8c953ddb79 --- /dev/null +++ b/traefik/3.2.3/22.03-lts-sp4/Dockerfile @@ -0,0 +1,19 @@ +ARG BASE=openeuler/openeuler:22.03-lts-sp4 +FROM ${BASE} + +ARG TARGETARCH +ARG VERSION=3.2.3 + +RUN yum -y update && \ + yum -y install wget && \ + yum clean all + +RUN wget -O /tmp/traefik.tar.gz https://github.com/traefik/traefik/releases/download/v${VERSION}/traefik_v${VERSION}_linux_${TARGETARCH}.tar.gz && \ + tar -zxvf /tmp/traefik.tar.gz -C /usr/bin traefik && \ + chmod +x /usr/bin/traefik && \ + rm -rf /tmp/traefik.tar.gz + +COPY --chmod=0755 entrypoint.sh / +EXPOSE 80 +ENTRYPOINT ["/entrypoint.sh"] +CMD ["traefik"] diff --git a/traefik/3.2.3/22.03-lts-sp4/entrypoint.sh b/traefik/3.2.3/22.03-lts-sp4/entrypoint.sh new file mode 100644 index 0000000000000000000000000000000000000000..663073dc9759941e9645786905c87d9c7ce1c7d1 --- /dev/null +++ b/traefik/3.2.3/22.03-lts-sp4/entrypoint.sh @@ -0,0 +1,18 @@ +#!/bin/sh +set -e + +# first arg is `-f` or `--some-option` +if [ "${1#-}" != "$1" ]; then + set -- traefik "$@" +fi + +# if our command is a valid Traefik subcommand, let's invoke it through Traefik instead +# (this allows for "docker run traefik version", etc) +if traefik "$1" --help >/dev/null 2>&1 +then + set -- traefik "$@" +else + echo "= '$1' is not a Traefik command: assuming shell execution." 1>&2 +fi + +exec "$@" \ No newline at end of file diff --git a/traefik/3.2.3/24.03-lts/Dockerfile b/traefik/3.2.3/24.03-lts/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..d33dfabaae8ba33831d67e3b1e0d824b8198dd27 --- /dev/null +++ b/traefik/3.2.3/24.03-lts/Dockerfile @@ -0,0 +1,19 @@ +ARG BASE=openeuler/openeuler:24.03-lts +FROM ${BASE} + +ARG TARGETARCH +ARG VERSION=3.2.3 + +RUN yum -y update && \ + yum -y install wget && \ + yum clean all + +RUN wget -O /tmp/traefik.tar.gz https://github.com/traefik/traefik/releases/download/v${VERSION}/traefik_v${VERSION}_linux_${TARGETARCH}.tar.gz && \ + tar -zxvf /tmp/traefik.tar.gz -C /usr/bin traefik && \ + chmod +x /usr/bin/traefik && \ + rm -rf /tmp/traefik.tar.gz + +COPY --chmod=0755 entrypoint.sh / +EXPOSE 80 +ENTRYPOINT ["/entrypoint.sh"] +CMD ["traefik"] diff --git a/traefik/3.2.3/24.03-lts/entrypoint.sh b/traefik/3.2.3/24.03-lts/entrypoint.sh new file mode 100644 index 0000000000000000000000000000000000000000..663073dc9759941e9645786905c87d9c7ce1c7d1 --- /dev/null +++ b/traefik/3.2.3/24.03-lts/entrypoint.sh @@ -0,0 +1,18 @@ +#!/bin/sh +set -e + +# first arg is `-f` or `--some-option` +if [ "${1#-}" != "$1" ]; then + set -- traefik "$@" +fi + +# if our command is a valid Traefik subcommand, let's invoke it through Traefik instead +# (this allows for "docker run traefik version", etc) +if traefik "$1" --help >/dev/null 2>&1 +then + set -- traefik "$@" +else + echo "= '$1' is not a Traefik command: assuming shell execution." 1>&2 +fi + +exec "$@" \ No newline at end of file diff --git a/traefik/meta.yml b/traefik/meta.yml index 28d5f68b91263096bfcd9dee172faf34445470c2..592bc6f9bed319078471df295fd6418460f6caab 100644 --- a/traefik/meta.yml +++ b/traefik/meta.yml @@ -37,4 +37,12 @@ 3.2.2-oe2203sp4: path: traefik/3.2.2/22.03-lts-sp4/Dockerfile 3.2.2-oe2203sp1: - path: traefik/3.2.2/22.03-lts-sp1/Dockerfile \ No newline at end of file + path: traefik/3.2.2/22.03-lts-sp1/Dockerfile +3.2.3-oe2403lts: + path: traefik/3.2.3/24.03-lts/Dockerfile +3.2.3-oe2203sp3: + path: traefik/3.2.3/22.03-lts-sp3/Dockerfile +3.2.3-oe2203sp4: + path: traefik/3.2.3/22.03-lts-sp4/Dockerfile +3.2.3-oe2203sp1: + path: traefik/3.2.3/22.03-lts-sp1/Dockerfile \ No newline at end of file