redis
redis copied to clipboard
error building redis 8.0m01 on alpine
Hello there)
My local dev environment is:
- OS Ubuntu 24.04.1 LTS
- Docker 27.3
I am build Redis 8.0m01 docker image as usual:
docker build -f Dockerfile -t redis:8.0m01-alpine .
Got error:
25.94 + rm -f /tmp/tmp.iePIcl /usr/local/bin/gosu.asc
25.94 rm: '/tmp/tmp.iePIcl' is a directory
So the problem string number 20 in Dockerfile:
rm -f "$GNUPGHOME" /usr/local/bin/gosu.asc; \
Dockerfile for Debian did not have this problen, only Alpine image. Commit with this error https://github.com/redis/docker-library-redis/commit/8f1a23f9fd78e9d227bcc59ed43f571614151a63
To fix this error:
rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; \
Can you fix it? Thank you in advance)