|
@@ -9,7 +9,7 @@ RUN apk --no-cache add ca-certificates; \
|
|
|
*) echo >&2 "error: unsupported architecture: $apkArch"; exit 1 ;; \
|
|
|
esac; \
|
|
|
export version=$(wget -qO- https://api.github.com/repos/containous/traefik/releases/latest | grep '"tag_name":' | head -n 1 | sed -E 's/.*"([^"]+)".*/\1/'); \
|
|
|
- wget --quiet -O /tmp/traefik.tar.gz "https://github.com/containous/traefik/releases/download/v${version}/traefik_v${version}_linux_$arch.tar.gz"; \
|
|
|
+ wget --quiet -O /tmp/traefik.tar.gz "https://github.com/containous/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
|