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

Activity

  1. self-assigned this
    on Aug 20, 2026
  2. linked a pull request that will close this issuefix Docker build issue #41on Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions