When building with Docker, creating the bash completion script fails, aparently while creating the osx amd64 package:
54.63 /app/dist/bin/host-corteca -r /tmp/tmp.kOKRRffKMc/corteca_linux__arm64/etc/corteca completion bash > /tmp/tmp.kOKRRffKMc/corteca_linux__arm64/etc/bash_completion.d/corteca.bash
54.63 /app/dist/bin/host-corteca: line 1: syntax error: unexpected "("
54.63 make: *** [Makefile:48: linux-target] Error 2
------
Dockerfile:39
--------------------
38 |
39 | >>> RUN make msix GOARCH=amd64 && \
40 | >>> make deb GOARCH=amd64 && \
41 | >>> make rpm GOARCH=amd64 && \
42 | >>> make osx GOARCH=amd64 && \
43 | >>> make deb GOARCH=arm64 && \
44 | >>> make rpm GOARCH=arm64 && \
45 | >>> make osx GOARCH=arm64
46 |
--------------------
ERROR: failed to build: failed to solve: process "/bin/sh -c make msix GOARCH=amd64 && make deb GOARCH=amd64 && make rpm GOARCH=amd64 && make osx GOARCH=amd64 && make deb GOARCH=arm64 && make rpm GOARCH=arm64 && make osx GOARCH=arm64" did not complete successfully: exit code: 2
When building with Docker, creating the bash completion script fails, aparently while creating the osx amd64 package: