API Docker Images are failing to build #2411
Labels
💻 aspect: code
Concerns the software code in the repository
🛠 goal: fix
Bug fix
🟥 priority: critical
Must be addressed ASAP
🧱 stack: api
Related to the Django API
Description
The
api
andapi_nginx
Docker images are both unable to build due to a failed step in the build process.This line:
openverse/api/Dockerfile
Line 70 in 41b0cdb
is failing to work with the following error:
ERROR: cannot copy to non-directory: /var/lib/buildkit/runc-overlayfs/cachemounts/buildkit4099412824/lib
This is seemingly related to either changes in the base image or changes to
realies/audiowaveform:latest
which have caused an incompatibility.In
6cd8e39
(#2410) I added logs to the Dockerfile to help debug this. There I can confirm the root which the contents of deps are copied into, contains the following:and the
deps/
directory contents are:When Docker tries to copy
/deps
into/
, it encounters a conflict between directories (/lib
and/usr
) and these symbolic links (/lib
->usr/lib
) with the same names.The text was updated successfully, but these errors were encountered: