Merge pull request #43 from glogiotatidis/noinstallrecommends

Don't install debian recommended packages, make docker image smaller.
This commit is contained in:
Giorgos Logiotatidis 2015-02-13 13:26:51 +02:00
Родитель e9c42225f7 12d848502e
Коммит 26fd93d821
2 изменённых файлов: 6 добавлений и 4 удалений

Просмотреть файл

@ -1,8 +1,9 @@
FROM debian:wheezy
RUN apt-get update && apt-get install -y python python-pip python-dev libpq-dev postgresql-client gettext
RUN apt-get update && \
apt-get install -y --no-install-recommends build-essential python python-pip python-dev libpq-dev postgresql-client gettext
# Using PIL or Pillow? You probably want to uncomment next line
# RUN apt-get update && apt-get install -y libjpeg8-dev
# RUN apt-get update && apt-get install -y --no-install-recommends libjpeg8-dev
WORKDIR /app

Просмотреть файл

@ -1,8 +1,9 @@
FROM debian:wheezy
RUN apt-get update && apt-get install -y python python-pip python-dev libpq-dev postgresql-client gettext
RUN apt-get update && \
apt-get install -y --no-install-recommends build-essential python python-pip python-dev libpq-dev postgresql-client gettext
# Using PIL or Pillow? You probably want to uncomment next line
# RUN apt-get update && apt-get install -y libjpeg8-dev
# RUN apt-get update && apt-get install -y --no-install-recommends libjpeg8-dev
WORKDIR /app