Skip to content

Deploy error: failed to fetch an image or build from source #3

@titocosta

Description

@titocosta

I get the following error when deploying the app with fly deploy:

Error: failed to fetch an image or build from source: error building: executor failed running [/bin/sh -c git clone https://github.com/grafana/loki.git     && cd loki     && make loki logcli]: exit code: 2

While building, the process stops with the following:

imports github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/container: build constraints exclude all Go files in /go/loki/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/container
#10 17.25 vendor/github.com/grafana/dskit/netutil/netutil.go:6:2: cannot find package "." in:
#10 17.25 	/go/loki/vendor/net/netip
#10 17.26 make: *** [Makefile:158: cmd/loki/loki] Error 1

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