The previous unstable tarball is gone, so the container no longer built.
Even if it had built, it would have run Redict in protected mode, which
would make it, in many situations, unreachable.
This change also validates checksums before unpacking tarballs.
I removed the set -eux calls. They are an anti-pattern; docker already
prints commands and exits if any fails. Chained commands are simply
chained with &&. Running all commands in a single RUN directive
makes caching unfeasible when iterating locally.
Also removed several unused dependencies.
You can test with locally with:
docker build -t redict .
docker run --rm -it -p 6379:6379 redict
And in a Python terminal run:
# needs pip install redis
import redis
r = redis.Redis(host='localhost', port=6379, decode_responses=True)
r.set('it-works', 'okay')
print(r.get('it-works'))
Fixes: #6
The previous unstable tarball is gone, so the container no longer built.
Even if it had built, it would have run Redict in protected mode, which
would make it, in many situations, unreachable.
This change also validates checksums before unpacking tarballs.
I removed the `set -eux` calls. They are an anti-pattern; docker already
prints commands and exits if any fails. Chained commands are simply
chained with `&&`. Running all commands in a single `RUN` directive
makes caching unfeasible when iterating locally.
Also removed several unused dependencies.
You can test with locally with:
docker build -t redict .
docker run --rm -it -p 6379:6379 redict
And in a Python terminal run:
# needs pip install redis
import redis
r = redis.Redis(host='localhost', port=6379, decode_responses=True)
r.set('it-works', 'okay')
print(r.get('it-works'))
Fixes: https://codeberg.org/redict/redict-containers/issues/6