Skip to content

Instantly share code, notes, and snippets.

@ericchiang
Last active August 29, 2015 14:06
Show Gist options
  • Save ericchiang/490b2b5aa6d73529348b to your computer and use it in GitHub Desktop.
Save ericchiang/490b2b5aa6d73529348b to your computer and use it in GitHub Desktop.
pup Dockerfile test
FROM ubuntu:12.04
RUN apt-get update
RUN apt-get install -y wget
RUN apt-get install -y curl
RUN curl -L https://github.com/EricChiang/pup/releases/download/0.1.1/pup_linux_386 > pup
RUN chmod +x /pup
RUN wget http://www.pro-football-reference.com/years/2013/games.htm
RUN /pup < games.htm table#games 'a[href*=boxscores]' attr{href}
FROM debian:wheezy
RUN apt-get update
RUN apt-get install -y wget
RUN apt-get install -y curl
RUN curl -L https://github.com/EricChiang/pup/releases/download/0.1.1/pup_linux_amd64 > pup
RUN chmod +x /pup
RUN wget http://www.pro-football-reference.com/years/2013/games.htm
RUN touch attrhref
RUN /pup < games.htm table#games 'a[href*=boxscores]' attr{href}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment