Closed littleskunk closed 1 year ago
Still doesn't solve my problem
Well, what is your problem? Failed Lint
requires ioutil/io package replacement...
On Linux:
docker compose build --no-cache
[+] Building 6.7s (9/14)
=> [internal] load build definition from edge.Dockerfile 0.0s
=> => transferring dockerfile: 1.18kB 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> resolve image config for docker.io/docker/dockerfile:1.3 1.6s
=> CACHED docker-image://docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2 0.0s
=> [internal] load metadata for img.dev.storj.io/storjup/base:20221220-2 2.0s
=> [internal] load metadata for img.dev.storj.io/storjup/build:20221220-2 2.0s
=> CACHED [internal] settings cache mount permissions 0.0s
=> CACHED [base 1/1] FROM img.dev.storj.io/storjup/build:20221220-2@sha256:776cf805c417f67940977ea94d0e748e36fc4688b9d28c87d02264003ebd1def 0.0s
=> CACHED [final 1/11] FROM img.dev.storj.io/storjup/base:20221220-2@sha256:03197d53322e56432227d37371b759615d9057a53b22b007029f5dc99580ab51 0.0s
=> [branch 1/2] RUN git clone https://github.com/storj/gateway-mt.git --depth=1 --branch main 2.9s
=> => # Cloning into 'gateway-mt'...
[+] Building 8.0s (11/14)
[+] Building 10.4s (12/14)
=> [internal] load build definition from edge.Dockerfile 0.0s
=> => transferring dockerfile: 1.18kB 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
[+] Building 10.4s (12/27)
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load build definition from storj.Dockerfile 0.0s
=> => transferring dockerfile: 2.66kB 0.0s
=> resolve image config for docker.io/docker/dockerfile:1.3 1.6s
=> CACHED docker-image://docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2 0.0s
=> [internal] load metadata for img.dev.storj.io/storjup/build:20221220-2 2.0s
=> [internal] load metadata for img.dev.storj.io/storjup/base:20221220-2 2.0s
=> CACHED [internal] settings cache mount permissions 0.0s
=> CACHED [base 1/1] FROM img.dev.storj.io/storjup/build:20221220-2@sha256:776cf805c417f67940977ea94d0e748e36fc4688b9d28c87d02264003ebd1def 0.0s
=> CACHED [final 1/11] FROM img.dev.storj.io/storjup/base:20221220-2@sha256:03197d53322e56432227d37371b759615d9057a53b22b007029f5dc99580ab51 0.0s
=> [branch 1/2] RUN git clone https://github.com/storj/storj.git --depth=1 --branch main 4.0s
=> [branch 2/2] WORKDIR storj 0.0s
=> CANCELED [binaries 1/6] RUN cd web/satellite && npm install && npm run build 2.6s
failed to solve: process "/bin/sh -c go install ./cmd/..." did not complete successfully: exit code: 2
On Windows:
C:\Users\Skunk\Documents\GitHub>docker compose build --no-cache
[+] Building 11.0s (17/34)
=> [app-edge internal] load .dockerignore 0.2s
=> => transferring context: 2B 0.0s
=> [app-edge internal] load build definition from edge.Dockerfile 0.1s
=> => transferring dockerfile: 1.21kB 0.0s
=> [app-storj internal] load .dockerignore 0.2s
=> => transferring context: 2B 0.0s
=> [app-storj internal] load build definition from storj.Dockerfile 0.2s
=> => transferring dockerfile: 2.71kB 0.0s
=> [app-storj] resolve image config for docker.io/docker/dockerfile:1.3 1.7s
=> CACHED [app-storj] docker-image://docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2 0.0s
=> [app-storj internal] load metadata for img.dev.storj.io/storjup/base:20221220-2 1.8s
=> [app-edge internal] load metadata for img.dev.storj.io/storjup/build:20221220-2 1.7s
=> CACHED [app-storj final 1/3] FROM img.dev.storj.io/storjup/base:20221220-2@sha256:03197d53322e56432227d37371b759615d9057a53b22b007029f5dc99580ab51 0.0s
=> CACHED [app-storj internal] settings cache mount permissions 0.0s
=> CACHED [app-storj base 1/1] FROM img.dev.storj.io/storjup/build:20221220-2@sha256:776cf805c417f67940977ea94d0e748e36fc4688b9d28c87d02264003ebd1def 0.0s
=> [app-edge branch 1/2] RUN git clone https://github.com/storj/gateway-mt.git --depth=1 --branch main 1.9s
=> [app-storj branch 1/2] RUN git clone https://github.com/storj/storj.git --depth=1 --branch main 4.1s
=> [app-edge branch 2/2] WORKDIR gateway-mt 0.1s
=> ERROR [app-edge binaries 1/1] RUN --mount=type=cache,target=/var/lib/storj/go/pkg/mod,mode=777,uid=1000 --mount=type=cache,target=/var/lib/storj/.cache/go-b 4.9s
=> [app-storj branch 2/2] WORKDIR storj 0.1s
=> CANCELED [app-storj binaries 1/6] RUN cd web/satellite && npm install && npm run build 2.9s
------
> [app-edge binaries 1/1] RUN --mount=type=cache,target=/var/lib/storj/go/pkg/mod,mode=777,uid=1000 --mount=type=cache,target=/var/lib/storj/.cache/go-build,mode=777,uid=1000 go install ./cmd/...:
#0 1.271 # storj.io/gateway-mt/pkg/auth/httpauth
#0 1.271 pkg/auth/httpauth/resources.go:158:27: undefined: http.MaxBytesError
------
failed to solve: process "/bin/sh -c go install ./cmd/..." did not complete successfully: exit code: 2
Still doesn't solve my problem. Am I missing a place?