Skip to content

Commit

Permalink
fix nginx versioning to use precompile module
Browse files Browse the repository at this point in the history
  • Loading branch information
noogen committed Jun 17, 2017
1 parent 5ab5185 commit 1f8300e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ FROM hyperknot/baseimage16:1.0.1

MAINTAINER [email protected]

ENV LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 TERM=xterm container=docker DEBIAN_FRONTEND=noninteractive
ENV LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 \
TERM=xterm container=docker DEBIAN_FRONTEND=noninteractive \
NGINX_VERSION=1.13.0-1~xenial

# start
RUN \
Expand All @@ -16,9 +18,9 @@ RUN \
# update repo, install nginx and module to get dependencies
&& apt-get update -y && apt-get upgrade -y \
&& apt-get install -y --no-install-recommends --no-install-suggests \
nano nginx \
nginx-module-geoip \
nginx-module-image-filter \
nano nginx=1.13.0-1~xenial \
nginx-module-geoip=1.13.0-1~xenial \
nginx-module-image-filter=1.13.0-1~xenial \
gettext-base \
&& dpkg --configure -a \

Expand Down

0 comments on commit 1f8300e

Please sign in to comment.