trying to compile fleet using the Dockerfile run a...
# fleet
r
trying to compile fleet using the Dockerfile run and getting this error
Copy code
Step 5/7 : COPY ./build/binary-bundle/linux/fleet ./build/binary-bundle/linux/fleetctl /usr/bin/
COPY failed: file not found in build context or excluded by .dockerignore: stat build/binary-bundle/linux/fleet: file does not exist
t
hi ryan, sorry to hear you're experiencing issues. Could you tell me exactly what you're running?
r
docker build -t fleet .
Copy code
[+] Building 1.8s (8/8) FINISHED                                                                                          
 => [internal] load build definition from Dockerfile                                                                 0.0s
 => => transferring dockerfile: 348B                                                                                 0.0s
 => [internal] load .dockerignore                                                                                    0.0s
 => => transferring context: 106B                                                                                    0.0s
 => [internal] load metadata for <http://docker.io/library/alpine:latest|docker.io/library/alpine:latest>                                                     1.1s
 => [internal] load build context                                                                                    0.0s
 => => transferring context: 2B                                                                                      0.0s
 => CACHED [1/4] FROM <http://docker.io/library/alpine@sha256:234cb88d3020898631af0ccbbcca9a66ae7306ecd30c9720690858c1b007d|docker.io/library/alpine@sha256:234cb88d3020898631af0ccbbcca9a66ae7306ecd30c9720690858c1b007d>  0.0s
 => CANCELED [2/4] RUN apk --update add ca-certificates                                                              0.4s
 => CACHED [3/4] RUN addgroup -S fleet && adduser -S fleet -G fleet                                                  0.0s
 => ERROR [4/4] COPY ./build/binary-bundle/linux/fleet ./build/binary-bundle/linux/fleetctl /usr/bin/                0.0s
or following this GCP guide to build/upload the image to Cloud Run is what provides the exact error I posted.
Copy code
gcloud run deploy --image <http://gcr.io/PROJECT-ID/helloworld|gcr.io/PROJECT-ID/helloworld>
t
are you looking to build form source? or just run in docker? we publish official images that you can docker pull
r
Was looking to setup continuous deployment but got it with the official image. Thanks!
👍 1