Skip to content

docker build of script_exporter fails #60

@miroslav-vulovic

Description

@miroslav-vulovic

The docker build of script_exporter using the latest version of Docker file fails with:

docker build --tag script_exporter .
Sending build context to Docker daemon 162.3kB
Step 1/16 : FROM golang:1.14.1-alpine AS build-env
---> 760fdda71c8f
Step 2/16 : RUN apk add --update git gcc libc-dev
---> Using cache
---> 3dc61b9aff23
Step 3/16 : RUN go get -u github.com/prometheus/promu
---> Running in e1d625b930e8
package github.com/google/go-github/v25/github: cannot find package "github.com/google/go-github/v25/github" in any of:
/usr/local/go/src/github.com/google/go-github/v25/github (from $GOROOT)
/go/src/github.com/google/go-github/v25/github (from $GOPATH)
The command '/bin/sh -c go get -u github.com/prometheus/promu' returned a non-zero code: 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