Skip to content

Commit 0ecf403

Browse files
committed
chore(reids): update to redis 6
1 parent 2922b06 commit 0ecf403

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ SHELL_SCRIPTS = $(wildcard _scripts/*.sh) rootfs/bin/boot
1212

1313
# The following variables describe the containerized development environment
1414
# and other build options
15-
DEV_ENV_IMAGE := quay.io/drycc/go-dev:v0.22.0
15+
DEV_ENV_IMAGE := drycc/go-dev
1616
DEV_ENV_WORK_DIR := /go/src/${REPO_PATH}
1717
DEV_ENV_CMD := docker run --rm -v ${CURDIR}:${DEV_ENV_WORK_DIR} -w ${DEV_ENV_WORK_DIR} ${DEV_ENV_IMAGE}
1818
DEV_ENV_CMD_INT := docker run -it --rm -v ${CURDIR}:${DEV_ENV_WORK_DIR} -w ${DEV_ENV_WORK_DIR} ${DEV_ENV_IMAGE}

rootfs/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM redis:5-alpine
1+
FROM redis:6-alpine
22

33
COPY . /
44

rootfs/bin/boot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ REDIS_CONFIG_FILE=/etc/redis/redis.conf
88
REDIS_PASSWORD_FILE=/var/run/secrets/drycc/redis/creds/password
99
if [ -e $REDIS_PASSWORD_FILE ]; then
1010
REDIS_PASSWORD="$(cat /var/run/secrets/drycc/redis/creds/password)"
11-
if [ ! -z "$REDIS_PASSWORD" ]; then
11+
if [ -n "$REDIS_PASSWORD" ]; then
1212
echo "requirepass $REDIS_PASSWORD" >> $REDIS_CONFIG_FILE
1313
fi
1414
fi

0 commit comments

Comments
 (0)