Skip to content

Commit

Permalink
Merge pull request grafana#2 from bobrik/smaller-image
Browse files Browse the repository at this point in the history
Smaller image on top of debian wheezy instead of ubuntu
  • Loading branch information
torkelo committed Jan 3, 2015
2 parents a97adbf + b9af016 commit 6402948
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
FROM ubuntu:14.04
FROM debian:wheezy

# upgrade
RUN apt-get update
RUN apt-get upgrade -y

# needed packages
RUN apt-get install -y --no-install-recommends python-pip curl nginx-core
RUN pip install envtpl
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y --no-install-recommends python-pip curl nginx-light && \
pip install envtpl

# nginx
ADD nginx.conf.tpl /etc/nginx/nginx.conf.tpl
Expand Down

0 comments on commit 6402948

Please sign in to comment.