Compare commits

..

2 commits

Author SHA1 Message Date
f
16c07a06c5 fix: make MAX_MEMORY a default env variable
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-07-11 10:49:58 -03:00
f
ac4b2d866a feat: upgrade redis 2023-07-11 10:49:37 -03:00
2 changed files with 3 additions and 3 deletions

View file

@ -22,7 +22,7 @@ matrix:
include: include:
- MAX_MEMORY: "500mb" - MAX_MEMORY: "500mb"
ALPINE_VERSION: "3.18.2" ALPINE_VERSION: "3.18.2"
REDIS_VERSION: "7.0.11" REDIS_VERSION: "7.0.12"
- MAX_MEMORY: "500mb" - MAX_MEMORY: "500mb"
ALPINE_VERSION: "3.17.4" ALPINE_VERSION: "3.17.4"
REDIS_VERSION: "7.0.11" REDIS_VERSION: "7.0.12"

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}