Sounds that the dockerfile does not build anything....
On Thursday, June 11, 2020 at 10:01:05 PM UTC-7 hao xu wrote:
> 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"
> Step 3/22 : FROM quay.io/prometheus/busybox-${OS}-${ARCH}:latest
> <http://quay.io/prometheus/busybox-$%7BOS%7D-$%7BARCH%7D:latest>
> ---> 0a74f8eccb8c
> Step 4/22 : LABEL maintainer="The Prometheus Authors <
> [email protected]>"
> ---> 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
>
--
You received this message because you are subscribed to the Google Groups
"Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-developers/eb8d0784-c904-4fa5-8581-6743552c8908n%40googlegroups.com.