redis icon indicating copy to clipboard operation
redis copied to clipboard

error building redis 8.0m01 on alpine

Open cyrax13 opened this issue 5 months ago • 0 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 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)

cyrax13 avatar Sep 21 '24 18:09 cyrax13