content: FROM alpine:$ALPINE_VERSION
  RUN apk --no-cache add ca-certificates tzdata
  RUN set -ex; \
  	apkArch="$(apk --print-arch)"; \
  	case "$apkArch" in \
  		armhf) arch='armv6' ;; \
  		aarch64) arch='arm64' ;; \
  		x86_64) arch='amd64' ;; \
  		riscv64) arch='riscv64' ;; \
  		s390x) arch='s390x' ;; \
  		ppc64le) arch='ppc64le' ;; \
  		*) echo >&2 "error: unsupported architecture: $apkArch"; exit 1 ;; \
  	esac; \
  	wget --quiet -O /tmp/traefik.tar.gz "https://github.com/traefik/traefik/releases/download/${VERSION}/traefik_${VERSION}_linux_$arch.tar.gz"; \
  	tar xzvf /tmp/traefik.tar.gz -C /usr/local/bin traefik; \
  	rm -f /tmp/traefik.tar.gz; \
  	chmod +x /usr/local/bin/traefik
  COPY entrypoint.sh /
  EXPOSE 80
  ENTRYPOINT ["/entrypoint.sh"]
  CMD ["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"
  