Add redis to dockerfile.
This commit is contained in:
@@ -18,6 +18,13 @@ COPY . .
|
||||
RUN apt -y update
|
||||
RUN apt install -y wget
|
||||
|
||||
RUN apt install -y lsb-release curl gpg
|
||||
RUN curl -fsSL https://packages.redis.io/gpg | gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg
|
||||
RUN chmod 644 /usr/share/keyrings/redis-archive-keyring.gpg
|
||||
RUN echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/redis.list
|
||||
RUN apt update
|
||||
RUN apt install -y redis
|
||||
|
||||
# PNG ,JPG ,Tiff & WebP support
|
||||
# Consider adding more support with testing https://gist.github.com/hurricup/e14ae5bc47705fca6b1680e7a1fb6580
|
||||
RUN apt install -y libjpeg-dev
|
||||
|
||||
Reference in New Issue
Block a user