Skip to content
This repository was archived by the owner on May 3, 2022. It is now read-only.
This repository was archived by the owner on May 3, 2022. It is now read-only.

Windows build fails with /bin/sh: Command not found #837

@itowlson

Description

@itowlson

Cloning current master and running make build (or make build-windows) on Windows gives the following:

docker run -it --rm -e SKIP_DOCKER=true -v /cygdrive/c/Users/itowlson/go/src/github.com/deislabs/duffle/:/go/src/github.com/deislabs/duffle -w /go/src/github.com/deislabs/duffle quay.io/deis/lightweight-docker-go:v0.7.0 bash -c "GOOS=windows LDFLAGS=\"-w -s -X github.com/deislabs/duffle/pkg/version.Version=0.3.0 \" scripts/build.sh"
make: /bin/sh: Command not found

The culprit seems to be the call to scripts/build.sh. Not sure if this is meant to be running in the build container but at the moment it isn't!

Metadata

Metadata

Assignees

No one assigned

    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