I’m using a Bitbucket pipeline for deployment, I recently changed the
image so the pipeline uses
elixir:1.11-pipeline. This is a custom docker image but it’s working in other projects. However, now the pipeline fails at
mix deps.get with this error:
mix deps.get * Getting scrivener_html (https://github.com/goravbhootra/scrivener_html.git) ** (Mix) Error fetching/updating Git repository: the "git" executable is not available in your PATH. Please install Git on this machine or pass --no-deps-check if you want to run a previously built application on a system without Git.
Other than the image (which works in other projects) I have changed anything in the build step:
- step: &build-backend name: Backend | Build script: - mix deps.get - mix compile caches: - elixir-build - elixir-deps artifacts: - deps/**