Dnf with Fedora 24 and 25 with docker does not work anymore

docker
fedora

#1

With both versions I get this error when building the docker container:

Sending build context to Docker daemon 2.048 kB
Step 1 : FROM fedora:25
—> 79efba3f3ba8
Step 2 : RUN dnf install -y gcc gcc-c++ cmake automake autoconf wget boost-devel doxygen
—> Running in 0b43e4b33844
Error: Failed to synchronize cache for repo 'updates’
The command ‘/bin/sh -c dnf install -y gcc gcc-c++ cmake automake autoconf wget boost-devel doxygen’ returned a non-zero code: 1

Can anyone help?


#2

Did you run dnf update first?


#3