fix: make MAX_MEMORY a default env variable
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
ac4b2d866a
commit
16c07a06c5
1 changed files with 1 additions and 1 deletions
|
@ -1,10 +1,10 @@
|
||||||
ARG MAX_MEMORY=100mb
|
|
||||||
ARG ALPINE_VERSION=3.13.6
|
ARG ALPINE_VERSION=3.13.6
|
||||||
ARG BASE_IMAGE=sutty/monit
|
ARG BASE_IMAGE=sutty/monit
|
||||||
FROM ${BASE_IMAGE}:${ALPINE_VERSION} AS build
|
FROM ${BASE_IMAGE}:${ALPINE_VERSION} AS build
|
||||||
MAINTAINER "f <f@sutty.nl>"
|
MAINTAINER "f <f@sutty.nl>"
|
||||||
ARG REDIS_VERSION=6.2.7
|
ARG REDIS_VERSION=6.2.7
|
||||||
ARG MAX_MEMORY=100mb
|
ARG MAX_MEMORY=100mb
|
||||||
|
ENV MAX_MEMORY=${MAX_MEMORY}
|
||||||
|
|
||||||
RUN apk add --no-cache redis~${REDIS_VERSION}
|
RUN apk add --no-cache redis~${REDIS_VERSION}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue