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

How to build docker from the git source #1891

Closed
sakthivel1988 opened this Issue Aug 12, 2016 · 3 comments

Comments

Projects
None yet
2 participants
@sakthivel1988
Copy link

sakthivel1988 commented Aug 12, 2016

Hi ,

How can i build the docker from the dockerfile for Prometheus , I have the issue for building the file

[root@kube-master prometheus]# docker build -t prometheus .
Sending build context to Docker daemon 25.55 MB
Step 1 : FROM quay.io/prometheus/busybox:latest
---> 372dfc85dcbc
Step 2 : MAINTAINER The Prometheus Authors prometheus-developers@googlegroups.com
---> Using cache
---> ea2bdba0c610
Step 3 : COPY prometheus /bin/prometheus
lstat prometheus: no such file or directory

Says the binary file prometheus missing , But how to generate the binary . Please let me know how to get it

Regards,
Sakthi

@fabxc

This comment has been minimized.

Copy link
Member

fabxc commented Aug 12, 2016

You have to run make build first to build the binaries.

@fabxc fabxc added the kind/question label Aug 12, 2016

@sakthivel1988

This comment has been minimized.

Copy link
Author

sakthivel1988 commented Aug 12, 2016

Thanks a ton !!!

I had a issue in setting my gopath .. Now fixed and build the docker .

Regards,
Sakthi

@lock

This comment has been minimized.

Copy link

lock bot commented Mar 24, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Mar 24, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.