Navigation Menu

Skip to content

Commit

Permalink
Get rid of debconf issues during ckan image build
Browse files Browse the repository at this point in the history
* Get rid of:
    TERM is not set, so the dialog frontend is not usable
  while building ckan docker image
* Clean up apt mirrors
  • Loading branch information
SergK authored and Sergiy Kulanov committed Nov 23, 2017
1 parent e219c23 commit d2ddd73
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Dockerfile
Expand Up @@ -3,9 +3,10 @@ FROM debian:jessie
MAINTAINER Open Knowledge

# Install required system packages
RUN apt-get -q -y update && apt-get -q -y upgrade && \
DEBIAN_FRONTEND=noninteractive apt-get -q -y install \
python-dev \
RUN apt-get -q -y update \
&& DEBIAN_FRONTEND=noninteractive apt-get -q -y upgrade \
&& apt-get -q -y install \
python-dev \
python-pip \
python-virtualenv \
libpq-dev \
Expand All @@ -19,7 +20,8 @@ RUN apt-get -q -y update && apt-get -q -y upgrade && \
git-core \
vim \
wget \
&& apt-get -q clean
&& apt-get -q clean \
&& rm -rf /var/lib/apt/lists/*

# Define environment variables
ENV CKAN_HOME /usr/lib/ckan
Expand Down Expand Up @@ -54,4 +56,3 @@ USER ckan
EXPOSE 5000

CMD ["ckan-paster","serve","/etc/ckan/ckan.ini"]

0 comments on commit d2ddd73

Please sign in to comment.