Last active
August 29, 2015 14:06
-
-
Save ericchiang/490b2b5aa6d73529348b to your computer and use it in GitHub Desktop.
pup Dockerfile test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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