Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker build of script_exporter fails #60

Open
miroslav-vulovic opened this issue Oct 4, 2022 · 0 comments
Open

docker build of script_exporter fails #60

miroslav-vulovic opened this issue Oct 4, 2022 · 0 comments

Comments

@miroslav-vulovic
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant