Skip to content

Commit

Permalink
[Dockerfile] Fixes failing build due to wget while downloading redis
Browse files Browse the repository at this point in the history
While downloading redis the build fails when wget is run inside Dockerfile.
Following error is shown with wget command

---
Connecting to download.redis.io (45.60.125.1:80)
wget: bad header line:     XRQOValA: WtM; path=/; Max-Age=900
---
  • Loading branch information
MuhammadIsmailShahzad committed Jul 23, 2020
1 parent caf0430 commit 656ba08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rootfs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ ENV CKAN__HARVEST__MQ__HOSTNAME=localhost
ENV CKAN__HARVEST__MQ__PORT=6379
RUN apk add --no-cache linux-headers && \
cd ${SRC_DIR} && \
wget http://download.redis.io/releases/redis-${REDIS_VERSION}.tar.gz && \
curl -O http://download.redis.io/releases/redis-${REDIS_VERSION}.tar.gz && \
tar xzf redis-${REDIS_VERSION}.tar.gz && \
rm -f redis-${REDIS_VERSION}.tar.gz && \
cd redis-${REDIS_VERSION} && \
Expand Down

0 comments on commit 656ba08

Please sign in to comment.