trying to compile fleet using the Dockerfile run a...
# fleet
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
hi ryan, sorry to hear you're experiencing issues. Could you tell me exactly what you're running?
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 <|>                                                     1.1s
 => [internal] load build context                                                                                    0.0s
 => => transferring context: 2B                                                                                      0.0s
 => CACHED [1/4] FROM <|>  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 <|>
are you looking to build form source? or just run in docker? we publish official images that you can docker pull
Was looking to setup continuous deployment but got it with the official image. Thanks!
👍 1