-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upgrade nginx to 1.9.9 and consul-template to 0.12.0
- Loading branch information
1 parent
d5479dd
commit 9e6ab6e
Showing
3 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 . | ||
|