My builds keep failing with the following error
#26 63.72 ** (Mix) Could not compile dependency :idna, "/root/.mix/rebar3 bare compile --paths /app/_build/prod/lib/*/ebin" command failed. You can recompile this dependency with "mix deps.compile idna", update it with "mix deps.update idna" or clean it with "mix deps.clean idna"
------
WARNING: buildx: git was not found in the system. Current commit information was not captured by the build
Dockerfile:39
--------------------
38 | # build release
39 | >>> RUN mix phx.digest && \
40 | >>> mix release
41 |
--------------------
ERROR: failed to solve: process "/bin/sh -c mix phx.digest && mix release" did not complete successfully: exit code: 1
Cleaning up project directory and file based variables
00:01
ERROR: Job failed: command terminated with exit code 1
I think this is similar to a problem that occurred a few months back and described here: The CI/CD Pipeline suddenly fails without any changes done to the repository
It was resolved by one of the responders pinning docker to a slightly older commit hash:
release:
image: docker@sha256:c8bb6fa5388b56304dd770c4bc0478de81ce18540173b1a589178c0d31bfce90
services:
- name: docker:dind@sha256:c8bb6fa5388b56304dd770c4bc0478de81ce18540173b1a589178c0d31bfce90
stage: docker
Is this problem recurring? How do I find the sha hash for an older image?