Skip to content

Commit

Permalink
Bump gomplate to 3.11.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgeny Dmitriev committed Feb 18, 2024
1 parent f6ab99b commit 48751b4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ ARG CONTAINER_VERSION
ARG GOMPLATE_VERISON
ARG NGINX_VERSION
ARG TARGETPLATFORM
ARG TARGETARCH
ARG WLRM_FOLDER

MAINTAINER Wallarm Support Team <[email protected]>
Expand All @@ -30,7 +31,6 @@ RUN addgroup -S wallarm && \
apk update && \
apk upgrade && \
apk add curl bash socat logrotate libgcc \
gomplate=~$GOMPLATE_VERISON \
nginx=~$NGINX_VERSION \
nginx-mod-http-perl=~$NGINX_VERSION \
nginx-mod-stream=~$NGINX_VERSION \
Expand All @@ -44,6 +44,12 @@ RUN addgroup -S wallarm && \
nginx -V && \
rm -r /var/cache/apk/*

# Download gomplate
RUN curl -sL https://github.com/hairyhenderson/gomplate/releases/download/v${CONTAINER_VERSION}/gomplate_linux-${TARGETARCH} \
-o /usr/local/bin/gomplate && \
chmod 755 /usr/local/bin/gomplate && \
gomplate -v

# Create symlinks to redirect nginx logs to stdout and stderr
RUN ln -sf /dev/stdout /var/log/nginx/access.log && \
ln -sf /dev/stderr /var/log/nginx/error.log
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ CONTAINER_VERSION ?= test
ALPINE_VERSION = 3.18
NGINX_VERSION = 1.24.0
WLRM_FOLDER = stable-$(shell echo ${NGINX_VERSION} | sed 's/\.//g')
GOMPLATE_VERISON = 3.11.5
GOMPLATE_VERISON = 3.11.7
COMMIT_SHA ?= git-$(shell git rev-parse --short HEAD)

REGISTRY ?= docker.io/wallarm
Expand Down

0 comments on commit 48751b4

Please sign in to comment.