From bfb6d3cf131065821358f6b436120610fa7d0b20 Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Wed, 8 Jan 2025 03:13:13 +0000 Subject: [PATCH 1/4] 24.03-lts update traefik to 3.3.1 --- traefik/3.3.1/24.03-lts/Dockerfile | 19 +++++++++++++++++++ traefik/3.3.1/24.03-lts/entrypoint.sh | 18 ++++++++++++++++++ traefik/meta.yml | 4 +++- 3 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 traefik/3.3.1/24.03-lts/Dockerfile create mode 100644 traefik/3.3.1/24.03-lts/entrypoint.sh diff --git a/traefik/3.3.1/24.03-lts/Dockerfile b/traefik/3.3.1/24.03-lts/Dockerfile new file mode 100644 index 00000000..1ebdf174 --- /dev/null +++ b/traefik/3.3.1/24.03-lts/Dockerfile @@ -0,0 +1,19 @@ +ARG BASE=openeuler/openeuler:24.03-lts +FROM ${BASE} + +ARG TARGETARCH +ARG VERSION=3.3.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.3.1/24.03-lts/entrypoint.sh b/traefik/3.3.1/24.03-lts/entrypoint.sh new file mode 100644 index 00000000..663073dc --- /dev/null +++ b/traefik/3.3.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 28d5f68b..ea367a4e 100644 --- a/traefik/meta.yml +++ b/traefik/meta.yml @@ -37,4 +37,6 @@ 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.3.1-oe2403lts: + path: traefik/3.3.1/24.03-lts/Dockerfile \ No newline at end of file -- Gitee From 86784886b9e4230f6c33311eaca93004d76393cb Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Wed, 8 Jan 2025 03:13:56 +0000 Subject: [PATCH 2/4] 22.03-lts-sp3 update traefik to 3.3.1 --- traefik/3.3.1/22.03-lts-sp3/Dockerfile | 19 +++++++++++++++++++ traefik/3.3.1/22.03-lts-sp3/entrypoint.sh | 18 ++++++++++++++++++ traefik/meta.yml | 4 +++- 3 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 traefik/3.3.1/22.03-lts-sp3/Dockerfile create mode 100644 traefik/3.3.1/22.03-lts-sp3/entrypoint.sh diff --git a/traefik/3.3.1/22.03-lts-sp3/Dockerfile b/traefik/3.3.1/22.03-lts-sp3/Dockerfile new file mode 100644 index 00000000..7c4c2e8d --- /dev/null +++ b/traefik/3.3.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.3.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.3.1/22.03-lts-sp3/entrypoint.sh b/traefik/3.3.1/22.03-lts-sp3/entrypoint.sh new file mode 100644 index 00000000..663073dc --- /dev/null +++ b/traefik/3.3.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 ea367a4e..ea30d2dd 100644 --- a/traefik/meta.yml +++ b/traefik/meta.yml @@ -39,4 +39,6 @@ 3.2.2-oe2203sp1: path: traefik/3.2.2/22.03-lts-sp1/Dockerfile 3.3.1-oe2403lts: - path: traefik/3.3.1/24.03-lts/Dockerfile \ No newline at end of file + path: traefik/3.3.1/24.03-lts/Dockerfile +3.3.1-oe2203sp3: + path: traefik/3.3.1/22.03-lts-sp3/Dockerfile \ No newline at end of file -- Gitee From 2204be90040c71a339cc5348cfb372d3de4c87ca Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Wed, 8 Jan 2025 03:14:38 +0000 Subject: [PATCH 3/4] 22.03-lts-sp4 update traefik to 3.3.1 --- traefik/3.3.1/22.03-lts-sp4/Dockerfile | 19 +++++++++++++++++++ traefik/3.3.1/22.03-lts-sp4/entrypoint.sh | 18 ++++++++++++++++++ traefik/meta.yml | 4 +++- 3 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 traefik/3.3.1/22.03-lts-sp4/Dockerfile create mode 100644 traefik/3.3.1/22.03-lts-sp4/entrypoint.sh diff --git a/traefik/3.3.1/22.03-lts-sp4/Dockerfile b/traefik/3.3.1/22.03-lts-sp4/Dockerfile new file mode 100644 index 00000000..5421c90b --- /dev/null +++ b/traefik/3.3.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.3.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.3.1/22.03-lts-sp4/entrypoint.sh b/traefik/3.3.1/22.03-lts-sp4/entrypoint.sh new file mode 100644 index 00000000..663073dc --- /dev/null +++ b/traefik/3.3.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 ea30d2dd..da0602f5 100644 --- a/traefik/meta.yml +++ b/traefik/meta.yml @@ -41,4 +41,6 @@ 3.3.1-oe2403lts: path: traefik/3.3.1/24.03-lts/Dockerfile 3.3.1-oe2203sp3: - path: traefik/3.3.1/22.03-lts-sp3/Dockerfile \ No newline at end of file + path: traefik/3.3.1/22.03-lts-sp3/Dockerfile +3.3.1-oe2203sp4: + path: traefik/3.3.1/22.03-lts-sp4/Dockerfile \ No newline at end of file -- Gitee From f6d9ab3fa8419200d8c9bd9c875c0de0c30a0b60 Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Wed, 8 Jan 2025 03:15:25 +0000 Subject: [PATCH 4/4] 22.03-lts-sp1 update traefik to 3.3.1 --- traefik/3.3.1/22.03-lts-sp1/Dockerfile | 19 +++++++++++++++++++ traefik/3.3.1/22.03-lts-sp1/entrypoint.sh | 18 ++++++++++++++++++ traefik/meta.yml | 4 +++- 3 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 traefik/3.3.1/22.03-lts-sp1/Dockerfile create mode 100644 traefik/3.3.1/22.03-lts-sp1/entrypoint.sh diff --git a/traefik/3.3.1/22.03-lts-sp1/Dockerfile b/traefik/3.3.1/22.03-lts-sp1/Dockerfile new file mode 100644 index 00000000..1d7ea2f9 --- /dev/null +++ b/traefik/3.3.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.3.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.3.1/22.03-lts-sp1/entrypoint.sh b/traefik/3.3.1/22.03-lts-sp1/entrypoint.sh new file mode 100644 index 00000000..663073dc --- /dev/null +++ b/traefik/3.3.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 da0602f5..d4224f1d 100644 --- a/traefik/meta.yml +++ b/traefik/meta.yml @@ -43,4 +43,6 @@ 3.3.1-oe2203sp3: path: traefik/3.3.1/22.03-lts-sp3/Dockerfile 3.3.1-oe2203sp4: - path: traefik/3.3.1/22.03-lts-sp4/Dockerfile \ No newline at end of file + path: traefik/3.3.1/22.03-lts-sp4/Dockerfile +3.3.1-oe2203sp1: + path: traefik/3.3.1/22.03-lts-sp1/Dockerfile \ No newline at end of file -- Gitee