mirror of
https://github.com/traefik/traefik-library-image.git
synced 2026-05-02 18:32:33 +00:00
21 lines
904 B
Docker
21 lines
904 B
Docker
FROM mcr.microsoft.com/windows/servercore:1809
|
|
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
|
|
|
|
RUN Invoke-WebRequest \
|
|
-Uri "https://github.com/traefik/traefik/releases/download/v3.0.4/traefik_v3.0.4_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.0.4" \
|
|
org.opencontainers.image.documentation="https://docs.traefik.io"
|