Public Repository

Last pushed: 2 years ago
Short Description
Scrapy docker image based on phusion/baseimage + zsh
Full Description
FROM phusion/baseimage:0.9.15
MAINTAINER Viktor Shlapakov <>

# Set correct environment variables.
ENV HOME /root

# Regenerate SSH host keys. baseimage-docker does not contain any, so you
# have to do that yourself. You may also comment out this instruction; the
# init system will auto-generate one during boot.
RUN /etc/my_init.d/

# Use baseimage-docker's init system.
CMD ["/sbin/my_init"]

RUN sed 's/main$/main universe/' -i /etc/apt/sources.list
RUN sed 's/trusty universe/trusty universe multiverse/' -i /etc/apt/sources.list
RUN sed 's/trusty-updates universe/trusty universe multiverse/' -i /etc/apt/sources.list

RUN apt-get update && \
    apt-get -y upgrade && \
    apt-get -y install -q libffi-dev libssl-dev libxml2-dev libxslt1-dev && \
    apt-get -y install -q python-dev python-pip

RUN apt-get -y install git zsh

RUN pip install scrapy service-identity

RUN sed '1s/bash/zsh/' -i /etc/passwd

# Clean up APT when done.
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
Docker Pull Command

Comments (0)