Skip to content

Instantly share code, notes, and snippets.

@adelevie
Created March 17, 2016 23:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adelevie/b45003051440f15b3dff to your computer and use it in GitHub Desktop.
Save adelevie/b45003051440f15b3dff to your computer and use it in GitHub Desktop.
➜ tock git:(CivicVision-328-docker-compose-setup) docker-compose build tock
Building tock
Step 1 : FROM python:3.4
3.4: Pulling from library/python
fdd5d7827f33: Already exists
a3ed95caeb02: Pull complete
B/32 Bfe50cc: Pull complete
627b6479c8f7: Pull complete
67c44324f4e3: Pull complete
9ee7e6ec2a05: Pull complete
bbaa314a5925: Pull complete
629f63939484: Pull complete
Digest: sha256:e93391f3bd9683adedee8c19b22fe10a52e43975c2dfdd3c26e97b07d9a0e177
Status: Downloaded newer image for python:3.4
---> 85bfa05f5c49
Step 2 : MAINTAINER Mila Frerichs mila@civicvision.de
---> Running in c5c60b2e64b1
---> 54328b7955d2
Removing intermediate container c5c60b2e64b1
Step 3 : RUN mkdir /tock
---> Running in 86692290c79f
---> 37cd54e20883
Removing intermediate container 86692290c79f
Step 4 : WORKDIR /tock
---> Running in 9b06db94b378
---> 718889eabfa5
Removing intermediate container 9b06db94b378
Step 5 : COPY requirements.txt /tock
---> d1e958480cad
Removing intermediate container 6e4e97d28dea
Step 6 : COPY requirements-dev.txt /tock
---> 28705e40906f
Removing intermediate container 694f711182ee
Step 7 : RUN pip install -r requirements.txt
---> Running in 2d1deacf60c5
Collecting Django==1.8.9 (from -r requirements.txt (line 1))
Downloading Django-1.8.9-py2.py3-none-any.whl (6.2MB)
Collecting dj-database-url==0.3.0 (from -r requirements.txt (line 2))
Downloading dj_database_url-0.3.0-py2.py3-none-any.whl
Collecting psycopg2==2.6 (from -r requirements.txt (line 3))
Downloading psycopg2-2.6.tar.gz (367kB)
Collecting model-mommy==1.2.3 (from -r requirements.txt (line 4))
Downloading model_mommy-1.2.3.tar.gz
Collecting waitress==0.8.9 (from -r requirements.txt (line 5))
Downloading waitress-0.8.9.tar.gz (121kB)
Collecting whitenoise==1.0.6 (from -r requirements.txt (line 6))
Downloading whitenoise-1.0.6-py2.py3-none-any.whl
Collecting djangorestframework==3.1.2 (from -r requirements.txt (line 7))
Downloading djangorestframework-3.1.2-py2.py3-none-any.whl (463kB)
Collecting djangorestframework-csv==1.3.3 (from -r requirements.txt (line 8))
Downloading djangorestframework-csv-1.3.3.tar.gz
Collecting bleach==1.4.2 (from -r requirements.txt (line 9))
Downloading bleach-1.4.2-py2.py3-none-any.whl
Collecting six (from model-mommy==1.2.3->-r requirements.txt (line 4))
Downloading six-1.10.0-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/local/lib/python3.4/site-packages (from waitress==0.8.9->-r requirements.txt (line 5))
Collecting html5lib>=0.999 (from bleach==1.4.2->-r requirements.txt (line 9))
Downloading html5lib-0.9999999.tar.gz (889kB)
Installing collected packages: Django, dj-database-url, psycopg2, six, model-mommy, waitress, whitenoise, djangorestframework, djangorestframework-csv, html5lib, bleach
Running setup.py install for psycopg2: started
Running setup.py install for psycopg2: finished with status 'done'
Running setup.py install for model-mommy: started
Running setup.py install for model-mommy: finished with status 'done'
Running setup.py install for waitress: started
Running setup.py install for waitress: finished with status 'done'
Running setup.py install for djangorestframework-csv: started
Running setup.py install for djangorestframework-csv: finished with status 'done'
Running setup.py install for html5lib: started
Running setup.py install for html5lib: finished with status 'done'
Successfully installed Django-1.8.9 bleach-1.4.2 dj-database-url-0.3.0 djangorestframework-3.1.2 djangorestframework-csv-1.3.3 html5lib-0.9999999 model-mommy-1.2.3 psycopg2-2.6 six-1.10.0 waitress-0.8.9 whitenoise-1.0.6
You are using pip version 8.1.0, however version 8.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
---> ccd130df2903
Removing intermediate container 2d1deacf60c5
Step 8 : RUN pip install -r requirements-dev.txt
---> Running in f2d85e4a548e
Collecting coverage (from -r requirements-dev.txt (line 1))
Downloading coverage-4.0.3.tar.gz (354kB)
Collecting django-debug-toolbar (from -r requirements-dev.txt (line 2))
Downloading django_debug_toolbar-1.4-py2.py3-none-any.whl (212kB)
Collecting django-webtest (from -r requirements-dev.txt (line 3))
Downloading django_webtest-1.7.8-py2.py3-none-any.whl
Collecting factory-boy (from -r requirements-dev.txt (line 4))
Downloading factory_boy-2.6.1-py2.py3-none-any.whl
Collecting nplusone (from -r requirements-dev.txt (line 5))
Downloading nplusone-0.6.1-py2.py3-none-any.whl
Collecting sqlparse (from django-debug-toolbar->-r requirements-dev.txt (line 2))
Downloading sqlparse-0.1.19.tar.gz (58kB)
Requirement already satisfied (use --upgrade to upgrade): Django>=1.7 in /usr/local/lib/python3.4/site-packages (from django-debug-toolbar->-r requirements-dev.txt (line 2))
Collecting webtest>=1.3.3 (from django-webtest->-r requirements-dev.txt (line 3))
Downloading WebTest-2.0.20.tar.gz (66kB)
Collecting fake-factory>=0.5.0 (from factory-boy->-r requirements-dev.txt (line 4))
Downloading fake_factory-0.5.7-py2.py3-none-any.whl (484kB)
Collecting blinker>=1.3 (from nplusone->-r requirements-dev.txt (line 5))
Downloading blinker-1.4.tar.gz (111kB)
Requirement already satisfied (use --upgrade to upgrade): six>=1.9.0 in /usr/local/lib/python3.4/site-packages (from nplusone->-r requirements-dev.txt (line 5))
Collecting WebOb>=1.2 (from webtest>=1.3.3->django-webtest->-r requirements-dev.txt (line 3))
Downloading WebOb-1.6.0-py2.py3-none-any.whl (77kB)
Requirement already satisfied (use --upgrade to upgrade): waitress>=0.8.5 in /usr/local/lib/python3.4/site-packages (from webtest>=1.3.3->django-webtest->-r requirements-dev.txt (line 3))
Collecting beautifulsoup4 (from webtest>=1.3.3->django-webtest->-r requirements-dev.txt (line 3))
Downloading beautifulsoup4-4.4.1-py3-none-any.whl (81kB)
Collecting python-dateutil>=2.4 (from fake-factory>=0.5.0->factory-boy->-r requirements-dev.txt (line 4))
Downloading python_dateutil-2.5.1-py2.py3-none-any.whl (200kB)
Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/local/lib/python3.4/site-packages (from waitress>=0.8.5->webtest>=1.3.3->django-webtest->-r requirements-dev.txt (line 3))
Installing collected packages: coverage, sqlparse, django-debug-toolbar, WebOb, beautifulsoup4, webtest, django-webtest, python-dateutil, fake-factory, factory-boy, blinker, nplusone
Running setup.py install for coverage: started
Running setup.py install for coverage: finished with status 'done'
Running setup.py install for sqlparse: started
Running setup.py install for sqlparse: finished with status 'done'
Running setup.py install for webtest: started
Running setup.py install for webtest: finished with status 'done'
Running setup.py install for blinker: started
Running setup.py install for blinker: finished with status 'done'
Successfully installed WebOb-1.6.0 beautifulsoup4-4.4.1 blinker-1.4 coverage-4.0.3 django-debug-toolbar-1.4 django-webtest-1.7.8 factory-boy-2.6.1 fake-factory-0.5.7 nplusone-0.6.1 python-dateutil-2.5.1 sqlparse-0.1.19 webtest-2.0.20
You are using pip version 8.1.0, however version 8.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
---> 0e43fdda0d85
Removing intermediate container f2d85e4a548e
Step 9 : COPY tock /tock
---> 30a234c2da37
Removing intermediate container a29df4d7621c
Step 10 : EXPOSE 4001
---> Running in 0fb91b8c0645
---> dca0ec064bae
Removing intermediate container 0fb91b8c0645
Step 11 : CMD waitress-serve --port=4001 tock.wsgi:application
---> Running in 8ef3e29ecfb4
---> dc34c1321893
Removing intermediate container 8ef3e29ecfb4
Successfully built dc34c1321893
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment