DEV Community

n350071πŸ‡―πŸ‡΅
n350071πŸ‡―πŸ‡΅

Posted on

When your docker-compose build outs error, try it with --no-cache option.

It's a simple problem but I've spent about 30 min. so, I leave a note for anyone who is into same hole with me.

2020 Feb 20th

I met an error like these. I'm sorry I forgot to take the logs completely. But anyway, it's like this.

GPG error: https://dl.yarnpkg.com/debian stable InRelease: The

Errno::ENOENT: No such file or directory - the ffprobe binary could not be found

The repository 'https://dl.yarnpkg.com/debian stable InRelease' is not signed

Perhaps, the pubkey is expired

Maybe you have this line in your Dockerfile.

RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -

Docker uses cache when you run docker-compose build.

πŸ‘ Solution

docker-compose build --no-cache

Top comments (0)