Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .ci/test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ param(
Write-Output 'Test for ' + $target

$ErrorActionPreference = 'Stop' # Fail if any instruction fails
$version = Get-Content .\version -Raw
$version = (Get-Content .\version -Raw).Trim()
$api_opts = ''
if($version.StartsWith('v2')) {
$api_opts='--api.insecure'
Expand All @@ -15,7 +15,7 @@ if($version.StartsWith('v3')) {
$api_opts='--api.insecure'
}

$path = $version-replace "\.[0-9a-z\-]+\s*$"
$path = $version -replace "(\.\d+)\..+$", '$1'

docker build -t traefik:$target $path/windows/$target
docker run --name lb -d -p 8080:8080 traefik:$target --api $api_opts
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,18 @@ jobs:
- name: Test
run: .\.ci\test.ps1 -target 'servercore-ltsc2022'
shell: powershell

docker-library-wincore2025:
name: Test on windows server core 2025
runs-on: windows-2025

steps:

- name: Check out code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 1

- name: Test
run: .\.ci\test.ps1 -target 'servercore-ltsc2025'
shell: powershell
15 changes: 15 additions & 0 deletions tmpl/windows/nanoserver-ltsc2025/tmplv3.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM mcr.microsoft.com/windows/nanoserver:ltsc2025

COPY --from=traefik:${VERSION}-windowsservercore-ltsc2025 /traefik.exe /

EXPOSE 80
ENTRYPOINT [ "/traefik" ]

# Metadata
LABEL org.opencontainers.image.vendor="Traefik Labs" \
org.opencontainers.image.url="https://traefik.io" \
org.opencontainers.image.source="https://github.com/traefik/traefik" \
org.opencontainers.image.title="Traefik" \
org.opencontainers.image.description="A modern reverse-proxy" \
org.opencontainers.image.version="$VERSION" \
org.opencontainers.image.documentation="https://docs.traefik.io"
20 changes: 20 additions & 0 deletions tmpl/windows/servercore-ltsc2025/tmplv3.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FROM mcr.microsoft.com/windows/servercore:ltsc2025
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]

RUN Invoke-WebRequest \
-Uri "https://github.com/traefik/traefik/releases/download/${VERSION}/traefik_${VERSION}_windows_amd64.zip" \
-OutFile "/traefik.zip"; \
Expand-Archive -Path "/traefik.zip" -DestinationPath "/" -Force; \
Remove-Item "/traefik.zip" -Force

EXPOSE 80
ENTRYPOINT [ "/traefik" ]

# Metadata
LABEL org.opencontainers.image.vendor="Traefik Labs" \
org.opencontainers.image.url="https://traefik.io" \
org.opencontainers.image.source="https://github.com/traefik/traefik" \
org.opencontainers.image.title="Traefik" \
org.opencontainers.image.description="A modern reverse-proxy" \
org.opencontainers.image.version="$VERSION" \
org.opencontainers.image.documentation="https://docs.traefik.io"
2 changes: 2 additions & 0 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ PLATFORMS=(
"scratch"
"windows/nanoserver-ltsc2022"
"windows/servercore-ltsc2022"
"windows/nanoserver-ltsc2025"
"windows/servercore-ltsc2025"
)

SCRIPT_DIRNAME_ABSOLUTEPATH="$(cd "$(dirname "$0")" && pwd -P)"
Expand Down
15 changes: 15 additions & 0 deletions v2.11/windows/nanoserver-ltsc2025/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM mcr.microsoft.com/windows/nanoserver:ltsc2025

COPY --from=traefik:v2.11.40-windowsservercore-ltsc2025 /traefik.exe /

EXPOSE 80
ENTRYPOINT [ "/traefik" ]

# Metadata
LABEL org.opencontainers.image.vendor="Traefik Labs" \
org.opencontainers.image.url="https://traefik.io" \
org.opencontainers.image.source="https://github.com/traefik/traefik" \
org.opencontainers.image.title="Traefik" \
org.opencontainers.image.description="A modern reverse-proxy" \
org.opencontainers.image.version="v2.11.40" \
org.opencontainers.image.documentation="https://docs.traefik.io"
Comment thread
mmatur marked this conversation as resolved.
20 changes: 20 additions & 0 deletions v2.11/windows/servercore-ltsc2025/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FROM mcr.microsoft.com/windows/servercore:ltsc2025
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]

RUN Invoke-WebRequest \
-Uri "https://github.com/traefik/traefik/releases/download/v2.11.40/traefik_v2.11.40_windows_amd64.zip" \
-OutFile "/traefik.zip"; \
Expand-Archive -Path "/traefik.zip" -DestinationPath "/" -Force; \
Remove-Item "/traefik.zip" -Force

EXPOSE 80
ENTRYPOINT [ "/traefik" ]

# Metadata
LABEL org.opencontainers.image.vendor="Traefik Labs" \
org.opencontainers.image.url="https://traefik.io" \
org.opencontainers.image.source="https://github.com/traefik/traefik" \
org.opencontainers.image.title="Traefik" \
org.opencontainers.image.description="A modern reverse-proxy" \
org.opencontainers.image.version="v2.11.40" \
org.opencontainers.image.documentation="https://docs.traefik.io"
Comment thread
mmatur marked this conversation as resolved.
15 changes: 15 additions & 0 deletions v3.6/windows/nanoserver-ltsc2025/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM mcr.microsoft.com/windows/nanoserver:ltsc2025

COPY --from=traefik:v3.6.10-windowsservercore-ltsc2025 /traefik.exe /

EXPOSE 80
ENTRYPOINT [ "/traefik" ]

# Metadata
LABEL org.opencontainers.image.vendor="Traefik Labs" \
org.opencontainers.image.url="https://traefik.io" \
org.opencontainers.image.source="https://github.com/traefik/traefik" \
org.opencontainers.image.title="Traefik" \
org.opencontainers.image.description="A modern reverse-proxy" \
org.opencontainers.image.version="v3.6.10" \
org.opencontainers.image.documentation="https://docs.traefik.io"
20 changes: 20 additions & 0 deletions v3.6/windows/servercore-ltsc2025/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FROM mcr.microsoft.com/windows/servercore:ltsc2025
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]

RUN Invoke-WebRequest \
-Uri "https://github.com/traefik/traefik/releases/download/v3.6.10/traefik_v3.6.10_windows_amd64.zip" \
-OutFile "/traefik.zip"; \
Expand-Archive -Path "/traefik.zip" -DestinationPath "/" -Force; \
Remove-Item "/traefik.zip" -Force

EXPOSE 80
ENTRYPOINT [ "/traefik" ]

# Metadata
LABEL org.opencontainers.image.vendor="Traefik Labs" \
org.opencontainers.image.url="https://traefik.io" \
org.opencontainers.image.source="https://github.com/traefik/traefik" \
org.opencontainers.image.title="Traefik" \
org.opencontainers.image.description="A modern reverse-proxy" \
org.opencontainers.image.version="v3.6.10" \
org.opencontainers.image.documentation="https://docs.traefik.io"
15 changes: 15 additions & 0 deletions v3.7/windows/nanoserver-ltsc2025/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM mcr.microsoft.com/windows/nanoserver:ltsc2025

COPY --from=traefik:v3.7.0-ea.1-windowsservercore-ltsc2025 /traefik.exe /

EXPOSE 80
ENTRYPOINT [ "/traefik" ]

# Metadata
LABEL org.opencontainers.image.vendor="Traefik Labs" \
org.opencontainers.image.url="https://traefik.io" \
org.opencontainers.image.source="https://github.com/traefik/traefik" \
org.opencontainers.image.title="Traefik" \
org.opencontainers.image.description="A modern reverse-proxy" \
org.opencontainers.image.version="v3.7.0-ea.1" \
org.opencontainers.image.documentation="https://docs.traefik.io"
Comment thread
mmatur marked this conversation as resolved.
20 changes: 20 additions & 0 deletions v3.7/windows/servercore-ltsc2025/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FROM mcr.microsoft.com/windows/servercore:ltsc2025
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]

RUN Invoke-WebRequest \
-Uri "https://github.com/traefik/traefik/releases/download/v3.7.0-ea.1/traefik_v3.7.0-ea.1_windows_amd64.zip" \
-OutFile "/traefik.zip"; \
Expand-Archive -Path "/traefik.zip" -DestinationPath "/" -Force; \
Remove-Item "/traefik.zip" -Force

EXPOSE 80
ENTRYPOINT [ "/traefik" ]

# Metadata
LABEL org.opencontainers.image.vendor="Traefik Labs" \
org.opencontainers.image.url="https://traefik.io" \
org.opencontainers.image.source="https://github.com/traefik/traefik" \
org.opencontainers.image.title="Traefik" \
org.opencontainers.image.description="A modern reverse-proxy" \
org.opencontainers.image.version="v3.7.0-ea.1" \
org.opencontainers.image.documentation="https://docs.traefik.io"
Comment thread
mmatur marked this conversation as resolved.