I’m attempting to deploy a large image (1.1GB) to Fly which consists of files for Linux package repositories + a static webserver to host them (using the “static” builtin). However, I’m receiving the following error when deploying:
flyctl deploy public
Deploying notion-linux
==> Validating App Configuration
--> Validating App Configuration done
Services
TCP 80/443 ⇢ 8080
Deploy source directory '/tmp/cirrus-ci-build/public'
==> Building with Builtin
Using Builtin Builder: static
INFO Local docker unavailable, hooking you up with a remote Docker builder...
INFO Waiting for remote builder to become available...
INFO Remote builder is ready to build!
Step 1/3 : FROM pierrezemb/gostatic
latest: Pulling from pierrezemb/gostatic
63b6fbada7f9: Pulling fs layer
63b6fbada7f9: Verifying Checksum
63b6fbada7f9: Download complete
63b6fbada7f9: Pull complete
Digest: sha256:cedf9cef1cf6452c4f294d1c9c2334075282a7cd34412ca216699e38aa545b17
Status: Downloaded newer image for pierrezemb/gostatic:latest
---> 098af51e79a9
Step 2/3 : COPY . /srv/http/
---> cc23af742873
Step 3/3 : CMD ["-port","8080"]
---> Running in 90265496322b
---> 5b6cebf63d0c
Successfully built 5b6cebf63d0c
Successfully tagged registry.fly.io/notion-linux:deployment-1613181632
--> Building with Builtin done
Image: registry.fly.io/notion-linux:deployment-1613181632
Image size: 1.1 GB
==> Pushing Image
The push refers to repository [registry.fly.io/notion-linux]
9d0bcaae547d: Preparing
ba79b3b261ef: Preparing
ba79b3b261ef: Layer already exists
9d0bcaae547d: Retrying in 5 seconds
9d0bcaae547d: Retrying in 4 seconds
9d0bcaae547d: Retrying in 3 seconds
9d0bcaae547d: Retrying in 2 seconds
9d0bcaae547d: Retrying in 1 second
9d0bcaae547d: Retrying in 10 seconds
9d0bcaae547d: Retrying in 9 seconds
9d0bcaae547d: Retrying in 8 seconds
9d0bcaae547d: Retrying in 7 seconds
9d0bcaae547d: Retrying in 6 seconds
9d0bcaae547d: Retrying in 5 seconds
9d0bcaae547d: Retrying in 4 seconds
9d0bcaae547d: Retrying in 3 seconds
9d0bcaae547d: Retrying in 2 seconds
9d0bcaae547d: Retrying in 1 second
9d0bcaae547d: Retrying in 15 seconds
9d0bcaae547d: Retrying in 14 seconds
9d0bcaae547d: Retrying in 13 seconds
9d0bcaae547d: Retrying in 12 seconds
9d0bcaae547d: Retrying in 11 seconds
9d0bcaae547d: Retrying in 10 seconds
9d0bcaae547d: Retrying in 9 seconds
9d0bcaae547d: Retrying in 8 seconds
9d0bcaae547d: Retrying in 7 seconds
9d0bcaae547d: Retrying in 6 seconds
9d0bcaae547d: Retrying in 5 seconds
9d0bcaae547d: Retrying in 4 seconds
9d0bcaae547d: Retrying in 3 seconds
9d0bcaae547d: Retrying in 2 seconds
9d0bcaae547d: Retrying in 1 second
9d0bcaae547d: Retrying in 20 seconds
9d0bcaae547d: Retrying in 19 seconds
9d0bcaae547d: Retrying in 18 seconds
9d0bcaae547d: Retrying in 17 seconds
9d0bcaae547d: Retrying in 16 seconds
9d0bcaae547d: Retrying in 15 seconds
9d0bcaae547d: Retrying in 14 seconds
9d0bcaae547d: Retrying in 13 seconds
9d0bcaae547d: Retrying in 12 seconds
9d0bcaae547d: Retrying in 11 seconds
9d0bcaae547d: Retrying in 10 seconds
9d0bcaae547d: Retrying in 9 seconds
9d0bcaae547d: Retrying in 8 seconds
9d0bcaae547d: Retrying in 7 seconds
9d0bcaae547d: Retrying in 6 seconds
9d0bcaae547d: Retrying in 5 seconds
9d0bcaae547d: Retrying in 4 seconds
9d0bcaae547d: Retrying in 3 seconds
9d0bcaae547d: Retrying in 2 seconds
9d0bcaae547d: Retrying in 1 second
Error unexpected EOF
I’m deploying from Cirrus CI; you can also see the output I’ve pasted above here: Cirrus CI
My fly.toml
is also available here: notion-linux/fly.toml at main · davidbailey00/notion-linux · GitHub
Any ideas what’s going wrong? Presumably the layer upload is failing for some reason?