projects
/
discourse_docker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac6930c
)
Check that redis archive matches hash (#450)
author
Daniel Waterworth
<me@danielwaterworth.com>
Wed, 2 Oct 2019 00:29:19 +0000
(
00:29
+0000)
committer
Sam
<sam.saffron@gmail.com>
Wed, 2 Oct 2019 00:29:19 +0000
(10:29 +1000)
Redis is downloaded without TLS
image/base/install-redis
patch
|
blob
|
blame
|
history
diff --git
a/image/base/install-redis
b/image/base/install-redis
index e2cc22d72b920253d4ffc6ec43564f75ef2aba09..d6affb35575133b1455eaf57069f85abbcade658 100755
(executable)
--- a/
image/base/install-redis
+++ b/
image/base/install-redis
@@
-1,11
+1,13
@@
#!/bin/bash
set -e
REDIS_VERSION=5.0.5
+REDIS_HASH="2139009799d21d8ff94fc40b7f36ac46699b9e1254086299f8d3b223ca54a375"
cd /tmp
# Prepare Redis source.
wget http://download.redis.io/releases/redis-$REDIS_VERSION.tar.gz
+echo "$REDIS_HASH redis-$REDIS_VERSION.tar.gz" | sha256sum -c
tar zxf redis-$REDIS_VERSION.tar.gz
cd redis-$REDIS_VERSION