Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker compose build failed #1

Open
esrrhs opened this issue Sep 26, 2023 · 0 comments
Open

docker compose build failed #1

esrrhs opened this issue Sep 26, 2023 · 0 comments

Comments

@esrrhs
Copy link

esrrhs commented Sep 26, 2023

# docker-compose build
Building cc_backend
Step 1/19 : FROM node:12-alpine as builder
12-alpine: Pulling from library/node
59bf1c3509f3: Pull complete
f1265917d930: Pull complete
550febb8ed3d: Pull complete
8a58962111ca: Pull complete
Digest: sha256:05d61228b85c54b5527e74afc54153eb3572aae005948fb068a0f4ebe01f7c1e
Status: Downloaded newer image for node:12-alpine
 ---> 16d4be31074d
Step 2/19 : ENV NODE_ENV build
 ---> Running in fe5cb84c3b78
Removing intermediate container fe5cb84c3b78
 ---> e9e706bfddf4
Step 3/19 : USER node
 ---> Running in 5e191d888f29
Removing intermediate container 5e191d888f29
 ---> f2d1fdcb9e91
Step 4/19 : WORKDIR /home/node
 ---> Running in 859386cd09de
Removing intermediate container 859386cd09de
 ---> 52df991c8c73
Step 5/19 : COPY ["package.json", "package-lock.json*", "npm-shrinkwrap.json*", "tsconfig.build.json","tsconfig.json", ".env", "/home/node/"]
 ---> 58fca356021c
Step 6/19 : COPY ./src/ /home/node/src
 ---> 7c3a2da5dd0f
Step 7/19 : USER root
 ---> Running in 61b3f2d7c814
Removing intermediate container 61b3f2d7c814
 ---> 309c73b79a3b
Step 8/19 : RUN apk add --no-cache make gcc g++ python krb5-dev
 ---> Running in e7803bc78814
fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz
 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.15/main: temporary error (try again later)
  g++ (no such package):
    required by: world[g++]
  gcc (no such package):
    required by: world[gcc]
  krb5-dev (no such package):
    required by: world[krb5-dev]
  make (no such package):
    required by: world[make]
  python (no such package):
    required by: world[python]
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.15/community: temporary error (try again later)
ERROR: unable to select packages:
ERROR: Service 'cc_backend' failed to build: The command '/bin/sh -c apk add --no-cache make gcc g++ python krb5-dev' returned a non-zero code: 5

my env is

# uname -a
Linux VM-0-5-centos 4.18.0-193.28.1.el8_2.x86_64 #1 SMP Thu Oct 22 00:20:22 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant