Public Repository

Last pushed: 2 years ago
Short Description
ARMv7 version of Redis
Full Description

##Generic ARM version of Redis tested on i.MX6 ARM platform

Dockerfile:

#
# Redis-armhf Dockerfile
#
# https://hub.docker.com/r/aerodame/armhf-redis
#

# Pull base image.
FROM armv7/armhf-ubuntu_core

# Install Redis.
RUN \
  apt-get -y update && \
  cd /tmp && \
  apt-get -y install wget && \
  apt-get -y install gcc &&\
  apt-get -y install make &&\
  wget http://download.redis.io/redis-stable.tar.gz && \
  tar xvzf redis-stable.tar.gz && \
  cd redis-stable && \
  make && \
  make install && \
  cp -f src/redis-sentinel /usr/local/bin && \
  mkdir -p /etc/redis && \
  cp -f *.conf /etc/redis && \
  rm -rf /tmp/redis-stable* && \
  sed -i 's/^\(bind .*\)$/# \1/' /etc/redis/redis.conf && \
  sed -i 's/^\(daemonize .*\)$/# \1/' /etc/redis/redis.conf && \
  sed -i 's/^\(dir .*\)$/# \1\ndir \/data/' /etc/redis/redis.conf && \
  sed -i 's/^\(logfile .*\)$/# \1/' /etc/redis/redis.conf

# Define mountable directories.
VOLUME ["/data"]

# Define working directory.
WORKDIR /data

# Define default command.
CMD ["redis-server", "/etc/redis/redis.conf"]

# Expose ports.
EXPOSE 6379
Docker Pull Command
Owner
aerodame