From d0471c7043f9cbabab645aeaf379ba0d51a7b2d6 Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Thu, 21 Nov 2024 00:09:04 +0000 Subject: [PATCH 1/4] 24.03-lts update traefik to 3.2.1 --- traefik/3.2.1/24.03-lts/Dockerfile | 19 +++++++++++++++++++ traefik/3.2.1/24.03-lts/entrypoint.sh | 18 ++++++++++++++++++ traefik/meta.yml | 4 +++- 3 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 traefik/3.2.1/24.03-lts/Dockerfile create mode 100644 traefik/3.2.1/24.03-lts/entrypoint.sh diff --git a/traefik/3.2.1/24.03-lts/Dockerfile b/traefik/3.2.1/24.03-lts/Dockerfile new file mode 100644 index 00000000..481a4db8 --- /dev/null +++ b/traefik/3.2.1/24.03-lts/Dockerfile @@ -0,0 +1,19 @@ +ARG BASE=openeuler/openeuler:24.03-lts +FROM ${BASE} + +ARG TARGETARCH +ARG VERSION=3.2.1 + +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 entrypoint.sh / +EXPOSE 80 +ENTRYPOINT ["/entrypoint.sh"] +CMD ["traefik"] diff --git a/traefik/3.2.1/24.03-lts/entrypoint.sh b/traefik/3.2.1/24.03-lts/entrypoint.sh new file mode 100644 index 00000000..663073dc --- /dev/null +++ b/traefik/3.2.1/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 2ba732c0..9db92268 100644 --- a/traefik/meta.yml +++ b/traefik/meta.yml @@ -21,4 +21,6 @@ 3.2.0-oe2203sp4: path: traefik/3.2.0/22.03-lts-sp4/Dockerfile 3.2.0-oe2403lts: - path: traefik/3.2.0/24.03-lts/Dockerfile \ No newline at end of file + path: traefik/3.2.0/24.03-lts/Dockerfile +3.2.1-oe2403lts: + path: traefik/3.2.1/24.03-lts/Dockerfile \ No newline at end of file -- Gitee From 47ea4af6111df0c8df1a128f9f05d751cc7e7333 Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Thu, 21 Nov 2024 00:09:43 +0000 Subject: [PATCH 2/4] 22.03-lts-sp3 update traefik to 3.2.1 --- traefik/3.2.1/22.03-lts-sp3/Dockerfile | 19 +++++++++++++++++++ traefik/3.2.1/22.03-lts-sp3/entrypoint.sh | 18 ++++++++++++++++++ traefik/meta.yml | 4 +++- 3 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 traefik/3.2.1/22.03-lts-sp3/Dockerfile create mode 100644 traefik/3.2.1/22.03-lts-sp3/entrypoint.sh diff --git a/traefik/3.2.1/22.03-lts-sp3/Dockerfile b/traefik/3.2.1/22.03-lts-sp3/Dockerfile new file mode 100644 index 00000000..3368120d --- /dev/null +++ b/traefik/3.2.1/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.1 + +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 entrypoint.sh / +EXPOSE 80 +ENTRYPOINT ["/entrypoint.sh"] +CMD ["traefik"] diff --git a/traefik/3.2.1/22.03-lts-sp3/entrypoint.sh b/traefik/3.2.1/22.03-lts-sp3/entrypoint.sh new file mode 100644 index 00000000..663073dc --- /dev/null +++ b/traefik/3.2.1/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/meta.yml b/traefik/meta.yml index 9db92268..925de746 100644 --- a/traefik/meta.yml +++ b/traefik/meta.yml @@ -23,4 +23,6 @@ 3.2.0-oe2403lts: path: traefik/3.2.0/24.03-lts/Dockerfile 3.2.1-oe2403lts: - path: traefik/3.2.1/24.03-lts/Dockerfile \ No newline at end of file + path: traefik/3.2.1/24.03-lts/Dockerfile +3.2.1-oe2203sp3: + path: traefik/3.2.1/22.03-lts-sp3/Dockerfile \ No newline at end of file -- Gitee From 6660f35d0866bce1fe7f33c99cff747716b0e139 Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Thu, 21 Nov 2024 00:10:23 +0000 Subject: [PATCH 3/4] 22.03-lts-sp4 update traefik to 3.2.1 --- traefik/3.2.1/22.03-lts-sp4/Dockerfile | 19 +++++++++++++++++++ traefik/3.2.1/22.03-lts-sp4/entrypoint.sh | 18 ++++++++++++++++++ traefik/meta.yml | 4 +++- 3 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 traefik/3.2.1/22.03-lts-sp4/Dockerfile create mode 100644 traefik/3.2.1/22.03-lts-sp4/entrypoint.sh diff --git a/traefik/3.2.1/22.03-lts-sp4/Dockerfile b/traefik/3.2.1/22.03-lts-sp4/Dockerfile new file mode 100644 index 00000000..3e9984a2 --- /dev/null +++ b/traefik/3.2.1/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.1 + +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 entrypoint.sh / +EXPOSE 80 +ENTRYPOINT ["/entrypoint.sh"] +CMD ["traefik"] diff --git a/traefik/3.2.1/22.03-lts-sp4/entrypoint.sh b/traefik/3.2.1/22.03-lts-sp4/entrypoint.sh new file mode 100644 index 00000000..663073dc --- /dev/null +++ b/traefik/3.2.1/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/meta.yml b/traefik/meta.yml index 925de746..a5375c7e 100644 --- a/traefik/meta.yml +++ b/traefik/meta.yml @@ -25,4 +25,6 @@ 3.2.1-oe2403lts: path: traefik/3.2.1/24.03-lts/Dockerfile 3.2.1-oe2203sp3: - path: traefik/3.2.1/22.03-lts-sp3/Dockerfile \ No newline at end of file + path: traefik/3.2.1/22.03-lts-sp3/Dockerfile +3.2.1-oe2203sp4: + path: traefik/3.2.1/22.03-lts-sp4/Dockerfile \ No newline at end of file -- Gitee From 838895abc1a7ab911719321719911a1cbbb01be5 Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Thu, 21 Nov 2024 00:11:11 +0000 Subject: [PATCH 4/4] 22.03-lts-sp1 update traefik to 3.2.1 --- traefik/3.2.1/22.03-lts-sp1/Dockerfile | 19 +++++++++++++++++++ traefik/3.2.1/22.03-lts-sp1/entrypoint.sh | 18 ++++++++++++++++++ traefik/meta.yml | 4 +++- 3 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 traefik/3.2.1/22.03-lts-sp1/Dockerfile create mode 100644 traefik/3.2.1/22.03-lts-sp1/entrypoint.sh diff --git a/traefik/3.2.1/22.03-lts-sp1/Dockerfile b/traefik/3.2.1/22.03-lts-sp1/Dockerfile new file mode 100644 index 00000000..cc4ff6d4 --- /dev/null +++ b/traefik/3.2.1/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.1 + +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 entrypoint.sh / +EXPOSE 80 +ENTRYPOINT ["/entrypoint.sh"] +CMD ["traefik"] diff --git a/traefik/3.2.1/22.03-lts-sp1/entrypoint.sh b/traefik/3.2.1/22.03-lts-sp1/entrypoint.sh new file mode 100644 index 00000000..663073dc --- /dev/null +++ b/traefik/3.2.1/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/meta.yml b/traefik/meta.yml index a5375c7e..c2cf86a6 100644 --- a/traefik/meta.yml +++ b/traefik/meta.yml @@ -27,4 +27,6 @@ 3.2.1-oe2203sp3: path: traefik/3.2.1/22.03-lts-sp3/Dockerfile 3.2.1-oe2203sp4: - path: traefik/3.2.1/22.03-lts-sp4/Dockerfile \ No newline at end of file + path: traefik/3.2.1/22.03-lts-sp4/Dockerfile +3.2.1-oe2203sp1: + path: traefik/3.2.1/22.03-lts-sp1/Dockerfile \ No newline at end of file -- Gitee