Skip to content

Commit

Permalink
upgrade nginx to 1.9.9 and consul-template to 0.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas-cynchai committed Dec 30, 2015
1 parent d5479dd commit 9e6ab6e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
FROM nginx:1.9.0
FROM nginx:1.9.9
MAINTAINER Ladislav Gazo <[email protected]>

RUN DEBIAN_FRONTEND=noninteractive \
apt-get update -qq && \
apt-get -y install curl runit && \
apt-get -y install wget runit unzip && \
rm -rf /var/lib/apt/lists/*

ENV CT_URL https://github.com/hashicorp/consul-template/releases/download/v0.9.0/consul-template_0.9.0_linux_amd64.tar.gz
RUN curl -L $CT_URL | tar -C /usr/local/bin --strip-components 1 -zxf -
RUN wget https://releases.hashicorp.com/consul-template/0.12.0/consul-template_0.12.0_linux_amd64.zip
RUN unzip -d /usr/local/bin consul-template_0.12.0_linux_amd64.zip

ADD nginx.service /etc/service/nginx/run
ADD consul-template.service /etc/service/consul-template/run
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ Create your data volume image and place required configuration files based on th
# Run

```
docker run --rm --volumes-from=yourdata-image -ti seges/nginx-consul:1.9.0
docker run --rm --volumes-from=yourdata-image -ti seges/nginx-consul:1.9.9
```
2 changes: 1 addition & 1 deletion docker-build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash

docker build --rm -t seges/nginx-consul:1.9.0 .
docker build --rm -t seges/nginx-consul:1.9.9 .

0 comments on commit 9e6ab6e

Please sign in to comment.