File tree 2 files changed +14
-2
lines changed
2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 1
1
ignored :
2
2
- DL3018 # Pin versions in apk add - See: https://github.com/hadolint/hadolint/wiki/DL3018
3
- - DL3020 # We're copying the scripts for this operator to work
3
+ - DL3020 # We're copying the scripts for this operator to work
4
+ - DL3047 # We're wgetting just fine
5
+ - DL3003 # It's only for during building redis that we cd
Original file line number Diff line number Diff line change 1
1
FROM flant/shell-operator:v1.0.12
2
2
3
- RUN apk add --no-cache redis
3
+ RUN export REDIS_VERSION="7.0.5" && \
4
+ export REDIS_DOWNLOAD_URL="http://download.redis.io/releases/redis-${REDIS_VERSION}.tar.gz" && \
5
+ apk add --update --no-cache --virtual build-deps gcc make linux-headers musl-dev tar openssl-dev pkgconfig && \
6
+ wget -O redis.tar.gz "$REDIS_DOWNLOAD_URL" && \
7
+ mkdir -p /usr/src/redis && \
8
+ tar -xzf redis.tar.gz -C /usr/src/redis --strip-components=1 && \
9
+ cd /usr/src/redis/src && \
10
+ make BUILD_TLS=yes MALLOC=libc redis-cli && \
11
+ cp redis-cli /usr/bin/redis-cli && \
12
+ cd && \
13
+ redis-cli -v
4
14
5
15
ADD hooks /hooks
6
16
ADD engine /engine
You can’t perform that action at this time.
0 commit comments