ERROR: failed to receive status: rpc error: code = Unavailable desc = error reading from server: EOF
skmirajbn opened this issue · 2 comments
What happened?
I want to build using dunglas/frankenphp:static-builder. But I don't want any internet dependency on build process. Thats way I Saved the docker images of dunglas/frankenphp:static-builder to my local PC and made a bat file which will load the image from the localpc to docker and will start building. All works fine and the download process of the image is not needed now. I thought the internet dependency is gone. But in my home I tried the run but got this error. I searched only and got to know it due to internet problem. But as I already loaded the dunglas/frankenphp:static-builder image from the local PC and I don't see any download process but why this error is happening?
Is the builder using internet while building anyway?
Please let me know.
Build Type
Official static build
Worker Mode
No
Operating System
Other (tell us more in the description)
CPU Architecture
x86_64
PHP configuration
Php 8.1
Relevant log output
Docker Desktop is already running.
cleaning ...
Error response from daemon: No such image: dunglas/frankenphp:static-builder
cleaning ...
Error response from daemon: No such image: dat:latest
Processing.... Please wait... don't close the terminal
Loaded image: dunglas/frankenphp:static-builder
Build starting...
[+] Building 332.9s (8/9) docker:desktop-linux
=> [internal] load build definition from static-build.Dockerfile 0.1s
=> => transferring dockerfile: 379B 0.1s
=> [internal] load metadata for docker.io/dunglas/frankenphp:static-builder 0.1s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [1/5] FROM docker.io/dunglas/frankenphp:static-builder 0.0s
=> [internal] load build context 1.5s
=> => transferring context: 868.75kB 1.3s
=> CACHED [2/5] WORKDIR /go/src/app/dist/app 0.0s
=> [3/5] COPY ./src/. . 6.8s
=> [4/5] WORKDIR /go/src/app/ 0.2s
=> [5/5] RUN EMBED=dist/app/ FRANKENPHP_VERSION=1.2.5 PHP_EXTENSIONS=mbstring,intl,pdo_mysql,gd PH 323.7s
=> => # nv -lm -licui18n -licuuc -licudata -lpthread -lm -lz -lsodium -lxml2 -liconv -lm -licui18n -licuuc -licudata -
=> => # lpthread -lm -lz -lxml2 -liconv -lm -licui18n -licuuc -licudata -lpthread -lm -lz -lxml2 -liconv -lm -licui18n
=> => # -licuuc -licudata -lpthread -lm -lz -lzip -lzstd -lz -lssl -lcrypto -lstdc++'
=> => # PKG_CONFIG='pkg-config'
=> => # GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build4411008
=> => # 83=/tmp/go-build -gno-record-gcc-switches'
ERROR: failed to receive status: rpc error: code = Unavailable desc = error reading from server: EOF
Docker build failed.
Press any key to continue . . .
go build
downloads dependencies. You need to download them as well: go mod download
. Alternatively, you can just vendor them: go mod vendor
which will store the dependencies in a vendor
folder.
dunglas/frankenphp:static-builder
I am using dunglas/frankenphp:static-builder image. Why doesn't it already downloaded inside the image?
How can I get the image tar file which contains all dependencies downloaded inside it already?
Or is there any image that has already been downloaded inside the image?