Compare commits
No commits in common. "2eaa22ae1b6719d1986c655e8359332a0e29503a" and "69c422f62127dd6e7dc1efee6513983bea70379e" have entirely different histories.
2eaa22ae1b
...
69c422f621
2 changed files with 8 additions and 6 deletions
|
@ -6,7 +6,7 @@ pipeline:
|
|||
username: sutty
|
||||
repo: registry.nulo.in/sutty/redis
|
||||
tags:
|
||||
- ${ALPINE_VERSION}
|
||||
- ${ALPINE_VERSION}-${MAX_MEMORY}
|
||||
- latest
|
||||
build_args:
|
||||
- MAX_MEMORY=${MAX_MEMORY}
|
||||
|
@ -21,8 +21,11 @@ pipeline:
|
|||
matrix:
|
||||
include:
|
||||
- MAX_MEMORY: "500mb"
|
||||
ALPINE_VERSION: "3.17.0"
|
||||
REDIS_VERSION: "7.0.5"
|
||||
- MAX_MEMORY: "500mb"
|
||||
ALPINE_VERSION: "3.16.3"
|
||||
ALPINE_VERSION: "3.16.2"
|
||||
REDIS_VERSION: "7.0.4"
|
||||
- MAX_MEMORY: "100mb"
|
||||
ALPINE_VERSION: "3.16.2"
|
||||
REDIS_VERSION: "7.0.4"
|
||||
- MAX_MEMORY: "100mb"
|
||||
ALPINE_VERSION: "3.15.6"
|
||||
REDIS_VERSION: "6.2.7"
|
||||
|
|
|
@ -5,7 +5,6 @@ run=/run/redis
|
|||
case $1 in
|
||||
start)
|
||||
install -dm 750 -o redis -g redis $run
|
||||
sed -re "s/^(maxmemory ).*/\1${MAX_MEMORY}/" -i /etc/redis.conf
|
||||
su-exec redis /usr/bin/redis-server /etc/redis.conf
|
||||
;;
|
||||
stop)
|
||||
|
|
Loading…
Reference in a new issue