fix: make MAX_MEMORY a default env variable
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
f 2023-07-11 10:49:58 -03:00
parent ac4b2d866a
commit 16c07a06c5

View file

@ -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}