redis/docker-library-redis

error building redis 8.0m01 on alpine

cyrax13 opened this issue · 1 comments

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

redis80_build.log

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 8f1a23f

To fix this error:
rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; \

Can you fix it? Thank you in advance)