Open wade-liwei opened 12 months ago
do you have the problem with docker base image: dydxprotocol/indexer-node:16-alpine-m1 when with dydxprotocol/indexer-node:16-alpine, run postgres-package error.
ubuntu@ip-172-31-0-105:~/v4-chain/indexer$ docker compose -f docker-compose-local-deployment.yml up WARN[0000] The "NPM_TOKEN" variable is not set. Defaulting to a blank string. [+] Building 0.5s (14/40) docker:default => [postgres internal] load build definition from Dockerfile.postgres.local 0.0s => => transferring dockerfile: 643B 0.0s => [postgres internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [postgres internal] load metadata for docker.io/library/postgres:12-bullseye 0.3s => [vulcan internal] load build definition from Dockerfile.service.local 0.0s => => transferring dockerfile: 1.95kB 0.0s => [vulcan internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [vulcan internal] load metadata for docker.io/dydxprotocol/indexer-node:16-alpine-m1 0.2s => CANCELED [vulcan internal] load build context 0.3s => => transferring context: 0.3s => CACHED [vulcan 1/28] FROM docker.io/dydxprotocol/indexer-node:16-alpine-m1@sha256:070c10d349cbdfff17fac7c5bba290ac7a4f6a9d0b5635c7ed51cb56bdc953a5 0.0s => ERROR [vulcan 2/28] RUN apk add --no-cache bash jq aws-cli 0.3s => [postgres internal] load build context 0.0s => => transferring context: 854B 0.0s => [postgres 1/3] FROM docker.io/library/postgres:12-bullseye@sha256:2e851d595911b2d73b1563f7817fe7c911513d2d06e78d8b23d4fa955e649597 0.0s => CACHED [postgres 2/3] COPY initialize-docker-postgres-user.sh /docker-entrypoint-initdb.d/ 0.0s => CACHED [postgres 3/3] RUN apt update && apt install -y postgresql-12-plpgsql-check postgresql-12-plprofiler postgresql-12-pldebugger 0.0s => [postgres] exporting to image 0.0s => => exporting layers 0.0s => => writing image sha256:3875ed339c85d25a09881fa9f118a5d5123a8116a5ecb634c3ba73c10898dd4f 0.0s => => naming to docker.io/library/indexer-postgres 0.0s
[vulcan 2/28] RUN apk add --no-cache bash jq aws-cli: 0.206 exec /bin/sh: exec format error failed to solve: process "/bin/sh -c apk add --no-cache bash jq aws-cli" did not complete successfully: exit code: 1
failed to solve: process "/bin/sh -c apk add --no-cache bash jq aws-cli" did not complete successfully: exit code: 1
without m1 docker image error:
I have the same problem
do you have the problem with docker base image: dydxprotocol/indexer-node:16-alpine-m1 when with dydxprotocol/indexer-node:16-alpine, run postgres-package error.
ubuntu@ip-172-31-0-105:~/v4-chain/indexer$ docker compose -f docker-compose-local-deployment.yml up WARN[0000] The "NPM_TOKEN" variable is not set. Defaulting to a blank string. [+] Building 0.5s (14/40) docker:default => [postgres internal] load build definition from Dockerfile.postgres.local 0.0s => => transferring dockerfile: 643B 0.0s => [postgres internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [postgres internal] load metadata for docker.io/library/postgres:12-bullseye 0.3s => [vulcan internal] load build definition from Dockerfile.service.local 0.0s => => transferring dockerfile: 1.95kB 0.0s => [vulcan internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [vulcan internal] load metadata for docker.io/dydxprotocol/indexer-node:16-alpine-m1 0.2s => CANCELED [vulcan internal] load build context 0.3s => => transferring context: 0.3s => CACHED [vulcan 1/28] FROM docker.io/dydxprotocol/indexer-node:16-alpine-m1@sha256:070c10d349cbdfff17fac7c5bba290ac7a4f6a9d0b5635c7ed51cb56bdc953a5 0.0s => ERROR [vulcan 2/28] RUN apk add --no-cache bash jq aws-cli 0.3s => [postgres internal] load build context 0.0s => => transferring context: 854B 0.0s => [postgres 1/3] FROM docker.io/library/postgres:12-bullseye@sha256:2e851d595911b2d73b1563f7817fe7c911513d2d06e78d8b23d4fa955e649597 0.0s => CACHED [postgres 2/3] COPY initialize-docker-postgres-user.sh /docker-entrypoint-initdb.d/ 0.0s => CACHED [postgres 3/3] RUN apt update && apt install -y postgresql-12-plpgsql-check postgresql-12-plprofiler postgresql-12-pldebugger 0.0s => [postgres] exporting to image 0.0s => => exporting layers 0.0s => => writing image sha256:3875ed339c85d25a09881fa9f118a5d5123a8116a5ecb634c3ba73c10898dd4f 0.0s => => naming to docker.io/library/indexer-postgres 0.0s