Skip to content

Instantly share code, notes, and snippets.

@jmcarbo
Created January 3, 2018 15:57
Show Gist options
  • Save jmcarbo/8970395405140f3c6e3e3f97e6f10b31 to your computer and use it in GitHub Desktop.
Save jmcarbo/8970395405140f3c6e3e3f97e6f10b31 to your computer and use it in GitHub Desktop.
FROM ubuntu:16.04
RUN apt-get update && apt-get install -y curl jq wget
RUN wget $(curl https://api.github.com/repos/containous/traefik/releases/latest| jq -r '.assets[] | select(.name == "traefik_linux-arm")| .browser_download_url')
RUN install traefik_linux-arm /usr/local/bin/traefik && chmod +x /usr/local/bin/traefik && rm traefik_linux-arm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment