doccano / doccano

Open source annotation tool for machine learning practitioners.
MIT License
9.56k stars 1.72k forks source link

Error: 'Service' frontend failed to build #1017

Closed kaushikepi closed 4 years ago

kaushikepi commented 4 years ago

(annotate_npi) espladmin@EPILAP576:~/doccano$ docker-compose -f docker-compose.prod.yml up
Building frontend
Step 1/4 : FROM node:13.7-alpine
 ---> b809734bb743
Step 2/4 : WORKDIR /app
 ---> Using cache
 ---> 2bcd261135ed
Step 3/4 : COPY . /app/
 ---> Using cache
 ---> 09e024ea4a0d
Step 4/4 : RUN apk add -U --no-cache git python3 make g++   && yarn install   && yarn build   && apk del --no-cache git make g++
 ---> Running in 0d18be248296
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz
(1/29) Upgrading musl (1.1.24-r0 -> 1.1.24-r2)
(2/29) Upgrading libstdc++ (9.2.0-r3 -> 9.3.0-r0)
(3/29) Installing binutils (2.33.1-r0)
(4/29) Installing gmp (6.1.2-r1)
(5/29) Installing isl (0.18-r0)
(6/29) Installing libgomp (9.3.0-r0)
(7/29) Installing libatomic (9.3.0-r0)
(8/29) Installing mpfr4 (4.0.2-r1)
(9/29) Installing mpc1 (1.1.0-r1)
(10/29) Installing gcc (9.3.0-r0)
(11/29) Installing musl-dev (1.1.24-r2)
(12/29) Installing libc-dev (0.7.2-r0)
(13/29) Installing g++ (9.3.0-r0)
(14/29) Installing ca-certificates (20191127-r2)
(15/29) Installing nghttp2-libs (1.40.0-r1)
(16/29) Installing libcurl (7.67.0-r1)
(17/29) Installing expat (2.2.9-r1)
(18/29) Installing pcre2 (10.34-r1)
(19/29) Installing git (2.24.3-r0)
(20/29) Installing make (4.2.1-r2)
ERROR: git-2.24.3-r0: DNS lookup error
(21/29) Installing libbz2 (1.0.8-r1)
(22/29) Installing libffi (3.2.1-r6)
ERROR: libbz2-1.0.8-r1: DNS lookup error
(23/29) Installing gdbm (1.13-r1)
(24/29) Installing xz-libs (5.2.4-r0)
(25/29) Installing ncurses-terminfo-base (6.1_p20200118-r4)
ERROR: xz-libs-5.2.4-r0: DNS lookup error
(26/29) Installing ncurses-libs (6.1_p20200118-r4)
(27/29) Installing readline (8.0.1-r0)
ERROR: ncurses-libs-6.1_p20200118-r4: DNS lookup error
(28/29) Installing sqlite-libs (3.30.1-r2)
(29/29) Installing python3 (3.8.2-r1)
ERROR: sqlite-libs-3.30.1-r2: DNS lookup error
E8xecuting busybox-1.31.1-r9.trigger
Executing ca-certificates-20191127-r2.trigger
5 errors; 230 MiB in 38 packages
ERROR: Service 'frontend' failed to build : The command '/bin/sh -c apk add -U --no-cache git python3 make g++   && yarn install   && yarn build   && apk del --no-cache git make g++' returned a non-zero code: 5

Your Environment

SaraGhazanfari commented 4 years ago

I have somehow the same problem. My OS is centos 8. returned a non-zero code: 4

Hironsan commented 4 years ago

Behind a proxy? This sounds like an environmental issue rather than an image with this image.

kaushikepi commented 4 years ago

Can you elaborate on the issue?