From 1e58b6dc3dbb527f510aaf414bc85d7c59fe4f65 Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Tue, 29 Oct 2024 00:07:54 +0000 Subject: [PATCH 1/4] 24.03-lts update traefik to 3.2.0 --- traefik/3.2.0/24.03-lts/Dockerfile | 19 +++++++++++++++++++ traefik/3.2.0/24.03-lts/entrypoint.sh | 18 ++++++++++++++++++ traefik/meta.yml | 4 +++- 3 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 traefik/3.2.0/24.03-lts/Dockerfile create mode 100644 traefik/3.2.0/24.03-lts/entrypoint.sh diff --git a/traefik/3.2.0/24.03-lts/Dockerfile b/traefik/3.2.0/24.03-lts/Dockerfile new file mode 100644 index 00000000..2e61d078 --- /dev/null +++ b/traefik/3.2.0/24.03-lts/Dockerfile @@ -0,0 +1,19 @@ +ARG BASE=openeuler/openeuler:24.03-lts +FROM ${BASE} + +ARG TARGETARCH +ARG VERSION=3.2.0 + +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.0/24.03-lts/entrypoint.sh b/traefik/3.2.0/24.03-lts/entrypoint.sh new file mode 100644 index 00000000..663073dc --- /dev/null +++ b/traefik/3.2.0/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 5c2090c9..ffd49481 100644 --- a/traefik/meta.yml +++ b/traefik/meta.yml @@ -13,4 +13,6 @@ 3.1.6-oe2203sp1: path: traefik/3.1.6/22.03-lts-sp1/Dockerfile 3.1.6-oe2003sp4: - path: traefik/3.1.6/20.03-lts-sp4/Dockerfile \ No newline at end of file + path: traefik/3.1.6/20.03-lts-sp4/Dockerfile +3.2.0-oe2403lts: + path: traefik/3.2.0/24.03-lts/Dockerfile \ No newline at end of file -- Gitee From 34d06f341ae5d3a3ba18999362110713ccf54d7b Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Tue, 29 Oct 2024 00:08:29 +0000 Subject: [PATCH 2/4] 22.03-lts-sp3 update traefik to 3.2.0 --- traefik/3.2.0/22.03-lts-sp3/Dockerfile | 19 +++++++++++++++++++ traefik/3.2.0/22.03-lts-sp3/entrypoint.sh | 18 ++++++++++++++++++ traefik/meta.yml | 4 +++- 3 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 traefik/3.2.0/22.03-lts-sp3/Dockerfile create mode 100644 traefik/3.2.0/22.03-lts-sp3/entrypoint.sh diff --git a/traefik/3.2.0/22.03-lts-sp3/Dockerfile b/traefik/3.2.0/22.03-lts-sp3/Dockerfile new file mode 100644 index 00000000..264267aa --- /dev/null +++ b/traefik/3.2.0/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.0 + +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.0/22.03-lts-sp3/entrypoint.sh b/traefik/3.2.0/22.03-lts-sp3/entrypoint.sh new file mode 100644 index 00000000..663073dc --- /dev/null +++ b/traefik/3.2.0/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 ffd49481..7ef1d3a1 100644 --- a/traefik/meta.yml +++ b/traefik/meta.yml @@ -15,4 +15,6 @@ 3.1.6-oe2003sp4: path: traefik/3.1.6/20.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.0-oe2203sp3: + path: traefik/3.2.0/22.03-lts-sp3/Dockerfile \ No newline at end of file -- Gitee From 95e29cd4f0226642f83411c570328df7e288d5e3 Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Tue, 29 Oct 2024 00:09:01 +0000 Subject: [PATCH 3/4] 22.03-lts-sp4 update traefik to 3.2.0 --- traefik/3.2.0/22.03-lts-sp4/Dockerfile | 19 +++++++++++++++++++ traefik/3.2.0/22.03-lts-sp4/entrypoint.sh | 18 ++++++++++++++++++ traefik/meta.yml | 4 +++- 3 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 traefik/3.2.0/22.03-lts-sp4/Dockerfile create mode 100644 traefik/3.2.0/22.03-lts-sp4/entrypoint.sh diff --git a/traefik/3.2.0/22.03-lts-sp4/Dockerfile b/traefik/3.2.0/22.03-lts-sp4/Dockerfile new file mode 100644 index 00000000..4f782e4b --- /dev/null +++ b/traefik/3.2.0/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.0 + +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.0/22.03-lts-sp4/entrypoint.sh b/traefik/3.2.0/22.03-lts-sp4/entrypoint.sh new file mode 100644 index 00000000..663073dc --- /dev/null +++ b/traefik/3.2.0/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 7ef1d3a1..8483deb1 100644 --- a/traefik/meta.yml +++ b/traefik/meta.yml @@ -17,4 +17,6 @@ 3.2.0-oe2403lts: path: traefik/3.2.0/24.03-lts/Dockerfile 3.2.0-oe2203sp3: - path: traefik/3.2.0/22.03-lts-sp3/Dockerfile \ No newline at end of file + path: traefik/3.2.0/22.03-lts-sp3/Dockerfile +3.2.0-oe2203sp4: + path: traefik/3.2.0/22.03-lts-sp4/Dockerfile \ No newline at end of file -- Gitee From b6d9c86dec7a027fd6e964a98989ae68ed7025f4 Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Tue, 29 Oct 2024 00:09:33 +0000 Subject: [PATCH 4/4] 22.03-lts-sp1 update traefik to 3.2.0 --- traefik/3.2.0/22.03-lts-sp1/Dockerfile | 19 +++++++++++++++++++ traefik/3.2.0/22.03-lts-sp1/entrypoint.sh | 18 ++++++++++++++++++ traefik/meta.yml | 4 +++- 3 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 traefik/3.2.0/22.03-lts-sp1/Dockerfile create mode 100644 traefik/3.2.0/22.03-lts-sp1/entrypoint.sh diff --git a/traefik/3.2.0/22.03-lts-sp1/Dockerfile b/traefik/3.2.0/22.03-lts-sp1/Dockerfile new file mode 100644 index 00000000..878161e3 --- /dev/null +++ b/traefik/3.2.0/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.0 + +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.0/22.03-lts-sp1/entrypoint.sh b/traefik/3.2.0/22.03-lts-sp1/entrypoint.sh new file mode 100644 index 00000000..663073dc --- /dev/null +++ b/traefik/3.2.0/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 8483deb1..14cf084b 100644 --- a/traefik/meta.yml +++ b/traefik/meta.yml @@ -19,4 +19,6 @@ 3.2.0-oe2203sp3: path: traefik/3.2.0/22.03-lts-sp3/Dockerfile 3.2.0-oe2203sp4: - path: traefik/3.2.0/22.03-lts-sp4/Dockerfile \ No newline at end of file + path: traefik/3.2.0/22.03-lts-sp4/Dockerfile +3.2.0-oe2203sp1: + path: traefik/3.2.0/22.03-lts-sp1/Dockerfile \ No newline at end of file -- Gitee