failure to build with dockerfile in many combinations

18 views
Skip to first unread message

hao xu

unread,
Jun 12, 2020, 1:01:05 AM6/12/20
to Prometheus Developers
Hi,
 I had failures to build with dockerfile in many combinations
Do you have any ideas? thanks
-----
docker build -t aa:0.1   or make docker
the same failure as below


Step 7/22 : COPY .build/${OS}-${ARCH}/prometheus        /bin/prometheus
COPY failed: stat /var/lib/docker/tmp/docker-builder748017225/.build/linux-amd64/prometheus: no such file or directory

tried on multiple master/branch/tags on mupltile machines/os

----- detailed---
Sending build context to Docker daemon  622.1MB
Step 1/22 : ARG ARCH="amd64"
Step 2/22 : ARG OS="linux"
 ---> 0a74f8eccb8c
Step 4/22 : LABEL maintainer="The Prometheus Authors <prometheus...@googlegroups.com>"
 ---> Using cache
 ---> 2ee93e608dc6
Step 5/22 : ARG ARCH="amd64"
 ---> Using cache
 ---> f759905e65aa
Step 6/22 : ARG OS="linux"
 ---> Using cache
 ---> ff10e6f95a64
Step 7/22 : COPY .build/${OS}-${ARCH}/prometheus        /bin/prometheus
COPY failed: stat /var/lib/docker/tmp/docker-builder748017225/.build/linux-amd64/prometheus: no such file or directory

hao xu

unread,
Jun 12, 2020, 1:39:29 AM6/12/20
to Prometheus Developers
Sounds that the dockerfile does not build anything....
Reply all
Reply to author
Forward
0 new messages