Created
April 11, 2016 15:56
-
-
Save redapple/cd9c31eeab8c4d5ea9eef7b200c3d4d0 to your computer and use it in GitHub Desktop.
Scrapy Ubuntu Trusty (14.04) Dockerfile
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:trusty | |
ENV DEBIAN_FRONTEND noninteractive | |
RUN apt-get update | |
# Install Python3 and dev headers | |
RUN apt-get install -y \ | |
python3 \ | |
python-dev \ | |
python3-dev | |
# Install cryptography | |
RUN apt-get install -y \ | |
build-essential \ | |
libssl-dev \ | |
libffi-dev | |
# install lxml | |
RUN apt-get install -y \ | |
libxml2-dev \ | |
libxslt-dev | |
# install pip | |
RUN apt-get install -y python-pip | |
RUN useradd --create-home --shell /bin/bash scrapyuser | |
USER scrapyuser | |
WORKDIR /home/scrapyuser |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment