Browse Source

Upgrade redis-commander image to debian:bullseye

pull/145/head
Jérémy DECOOL 2 years ago
parent
commit
10d1454b78
No known key found for this signature in database GPG Key ID: 60D6FF1081E8575
  1. 4
      redis-commander/Dockerfile
  2. 3
      redis-commander/install.sh

4
redis-commander/Dockerfile

@ -1,10 +1,10 @@
FROM debian:jessie
FROM debian:bullseye
LABEL maintainer="Johannes Schickling <schickling.j@gmail.com>"
ENV DEBIAN_FRONTEND noninteractive
ADD install.sh install.sh
RUN sh install.sh && rm install.sh
RUN bash install.sh && rm install.sh
EXPOSE 8081
CMD bash -c 'redis-commander --redis-host $REDIS_PORT_6379_TCP_ADDR'

3
redis-commander/install.sh

@ -6,9 +6,6 @@ set -eo pipefail
# install node & npm
apt-get update && apt-get install -y nodejs npm
# alias as node
ln -sf /usr/bin/nodejs /usr/bin/node
# install redis commander
npm install -g redis-commander

Loading…
Cancel
Save