Skip to content

Instantly share code, notes, and snippets.

View LeoCBS's full-sized avatar
👨‍👩‍👧‍👧

Leonardo Cesar Borges LeoCBS

👨‍👩‍👧‍👧
  • Florianópolis - SC / Brazil
View GitHub Profile
@LeoCBS
LeoCBS / gist:f56552f0311ceb6dc95f
Created March 11, 2015 19:33
saída image docker
Sending build context to Docker daemon 98.3 kB
Sending build context to Docker daemon
Step 0 : FROM ubuntu:14.04
---> 2d24f826cb16
Step 1 : MAINTAINER likang
---> Using cache
---> 20b513cdff4a
Step 2 : RUN apt-get update
---> Using cache
---> 0b7c32020c8d
@LeoCBS
LeoCBS / gist:dc7f4e2c05b12545c719
Created March 11, 2015 19:25
sudo docker build -t scrapy .
sudo docker build -t scrapy .
@LeoCBS
LeoCBS / Dockerfile
Created March 11, 2015 18:28
Dockerfile to up one spider/scrapy
FROM ubuntu:14.04
MAINTAINER likang
#instalando python e scrapy
RUN apt-get update
RUN apt-get install -y python python-pip python-dev libxml2-dev libxslt-dev libffi-dev libssl-dev
RUN pip install lxml && pip install pyopenssl && pip install Scrapy && pip install service_identity
#instalando o git
RUN apt-get install -y git