0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

RedisをソースからインストールしたDockerイメージを作成する

Posted at

ソースからredisをインストールする方法を記述します。
現在(2021/9/18)redisのdocker公式イメージは5と6です。それよりも古い場合はソースからビルドする必要があります。http://download.redis.io/releases よりバージョンを選択してください。

redis公式dockerイメージ

FROM debian:bullseye-slim

SHELL ["/bin/bash", "-c"]

RUN apt-get update && apt-get install -y build-essential tcl wget
RUN wget -c http://download.redis.io/releases/redis-4.0.9.tar.gz \
&& tar -xvf redis-3.2.9.tar.gz \
&& cd redis-3.2.9 \
&& make \
&& make install \
&& cd utils \
&& ./install_server.sh

CMD redis-server --appendonly yes
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?