Skip to content

deb package build with Docker fails when creating the BASH completion script #32

Description

@migrym

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions