Skip to content

Commit 01d8d8b

Browse files
traefikermmatur
authored andcommitted
v3.7.0-ea.1
1 parent a855667 commit 01d8d8b

8 files changed

Lines changed: 104 additions & 4 deletions

File tree

.ci/test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ if [[ ${VERSION} = v3* ]]; then
1515
fi
1616

1717
TARGETS=(
18-
"traefik:${VERSION}-alpine!./${VERSION/%.+([0-9a-z\-])/}/alpine"
19-
"traefik:${VERSION}!./${VERSION/%.+([0-9a-z\-])/}/scratch"
18+
"traefik:${VERSION}-alpine!./$(echo "$VERSION" | cut -d. -f1-2)/alpine"
19+
"traefik:${VERSION}!./$(echo "$VERSION" | cut -d. -f1-2)/scratch"
2020
)
2121

2222
for target in ${TARGETS[@]}; do

update.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ pushd "${SCRIPT_DIRNAME_ABSOLUTEPATH}"
2525

2626
for PLATFORM in "${PLATFORMS[@]}" ; do
2727
TEMPLATE_DIR="${SCRIPT_DIRNAME_ABSOLUTEPATH}/tmpl/${PLATFORM}"
28-
PLATFORM_DIR="${SCRIPT_DIRNAME_ABSOLUTEPATH}/${VERSION/%.+([0-9a-z\-])/}/${PLATFORM}"
28+
PLATFORM_DIR="${SCRIPT_DIRNAME_ABSOLUTEPATH}/$(echo "$VERSION" | cut -d. -f1-2)/${PLATFORM}"
2929
[ -d "${PLATFORM_DIR}" ] || (mkdir -p ${PLATFORM_DIR})
3030

3131
echo "= Generating Dockerfile for platform ${PLATFORM}"

v3.7/alpine/Dockerfile

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
FROM alpine:3.23
2+
RUN apk --no-cache add ca-certificates tzdata
3+
RUN set -ex; \
4+
apkArch="$(apk --print-arch)"; \
5+
case "$apkArch" in \
6+
armhf) arch='armv6' ;; \
7+
aarch64) arch='arm64' ;; \
8+
x86_64) arch='amd64' ;; \
9+
riscv64) arch='riscv64' ;; \
10+
s390x) arch='s390x' ;; \
11+
ppc64le) arch='ppc64le' ;; \
12+
*) echo >&2 "error: unsupported architecture: $apkArch"; exit 1 ;; \
13+
esac; \
14+
wget --quiet -O /tmp/traefik.tar.gz "https://github.com/traefik/traefik/releases/download/v3.7.0-ea.1/traefik_v3.7.0-ea.1_linux_$arch.tar.gz"; \
15+
tar xzvf /tmp/traefik.tar.gz -C /usr/local/bin traefik; \
16+
rm -f /tmp/traefik.tar.gz; \
17+
chmod +x /usr/local/bin/traefik
18+
COPY entrypoint.sh /
19+
EXPOSE 80
20+
ENTRYPOINT ["/entrypoint.sh"]
21+
CMD ["traefik"]
22+
23+
# Metadata
24+
LABEL org.opencontainers.image.vendor="Traefik Labs" \
25+
org.opencontainers.image.url="https://traefik.io" \
26+
org.opencontainers.image.source="https://github.com/traefik/traefik" \
27+
org.opencontainers.image.title="Traefik" \
28+
org.opencontainers.image.description="A modern reverse-proxy" \
29+
org.opencontainers.image.version="v3.7.0-ea.1" \
30+
org.opencontainers.image.documentation="https://docs.traefik.io"

v3.7/alpine/entrypoint.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/bin/sh
2+
set -e
3+
4+
# first arg is `-f` or `--some-option`
5+
if [ "${1#-}" != "$1" ]; then
6+
set -- traefik "$@"
7+
fi
8+
9+
# if our command is a valid Traefik subcommand, let's invoke it through Traefik instead
10+
# (this allows for "docker run traefik version", etc)
11+
if traefik "$1" --help >/dev/null 2>&1
12+
then
13+
set -- traefik "$@"
14+
else
15+
echo "= '$1' is not a Traefik command: assuming shell execution." 1>&2
16+
fi
17+
18+
exec "$@"

v3.7/scratch/Dockerfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
FROM scratch
2+
COPY --from=traefik:v3.7.0-ea.1-alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
3+
COPY --from=traefik:v3.7.0-ea.1-alpine /usr/share/zoneinfo /usr/share/
4+
COPY --from=traefik:v3.7.0-ea.1-alpine /usr/local/bin/traefik /
5+
6+
EXPOSE 80
7+
VOLUME ["/tmp"]
8+
ENTRYPOINT ["/traefik"]
9+
10+
# Metadata
11+
LABEL org.opencontainers.image.vendor="Traefik Labs" \
12+
org.opencontainers.image.url="https://traefik.io" \
13+
org.opencontainers.image.source="https://github.com/traefik/traefik" \
14+
org.opencontainers.image.title="Traefik" \
15+
org.opencontainers.image.description="A modern reverse-proxy" \
16+
org.opencontainers.image.version="v3.7.0-ea.1" \
17+
org.opencontainers.image.documentation="https://docs.traefik.io"
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
FROM mcr.microsoft.com/windows/nanoserver:ltsc2022
2+
3+
COPY --from=traefik:v3.7.0-ea.1-windowsservercore-ltsc2022 /traefik.exe /
4+
5+
EXPOSE 80
6+
ENTRYPOINT [ "/traefik" ]
7+
8+
# Metadata
9+
LABEL org.opencontainers.image.vendor="Traefik Labs" \
10+
org.opencontainers.image.url="https://traefik.io" \
11+
org.opencontainers.image.source="https://github.com/traefik/traefik" \
12+
org.opencontainers.image.title="Traefik" \
13+
org.opencontainers.image.description="A modern reverse-proxy" \
14+
org.opencontainers.image.version="v3.7.0-ea.1" \
15+
org.opencontainers.image.documentation="https://docs.traefik.io"
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
FROM mcr.microsoft.com/windows/servercore:ltsc2022
2+
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
3+
4+
RUN Invoke-WebRequest \
5+
-Uri "https://github.com/traefik/traefik/releases/download/v3.7.0-ea.1/traefik_v3.7.0-ea.1_windows_amd64.zip" \
6+
-OutFile "/traefik.zip"; \
7+
Expand-Archive -Path "/traefik.zip" -DestinationPath "/" -Force; \
8+
Remove-Item "/traefik.zip" -Force
9+
10+
EXPOSE 80
11+
ENTRYPOINT [ "/traefik" ]
12+
13+
# Metadata
14+
LABEL org.opencontainers.image.vendor="Traefik Labs" \
15+
org.opencontainers.image.url="https://traefik.io" \
16+
org.opencontainers.image.source="https://github.com/traefik/traefik" \
17+
org.opencontainers.image.title="Traefik" \
18+
org.opencontainers.image.description="A modern reverse-proxy" \
19+
org.opencontainers.image.version="v3.7.0-ea.1" \
20+
org.opencontainers.image.documentation="https://docs.traefik.io"

version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v3.6.10
1+
v3.7.0-ea.1

0 commit comments

Comments
 (0)