pokev25 / docker-yona

Run yona on docker
MIT License
35 stars 17 forks source link

shell/yona.sh build 도중에 git 서버 커넥션이 안되는건 서버 문제일까요? #13

Open hanbada79 opened 3 years ago

hanbada79 commented 3 years ago

안녕하세요 build 도중에 git 서버 커넥션이 안되는건 서버문제일까요? ㅠㅠ

[root@projects docker-yona-master]# shell/yona.sh build

[Run] [Building] "pokev25/yona:1.15.0" via full package Sending build context to Docker daemon 9.216 kB Step 1/17 : FROM openjdk:8-jdk-alpine3.9 ---> a3562aa0b991 Step 2/17 : LABEL Description "This image is used to start the yona" maintainer "pokev25" ---> Using cache ---> de86734ffda5 Step 3/17 : ARG YONA_VERSION=1.15.0 ---> Using cache ---> 9eee8ee6410c Step 4/17 : ARG YONA_BIN=yona-v${YONA_VERSION}-bin.zip ---> Using cache ---> f89b1c2b8d0f Step 5/17 : ARG YONA_DOWNLOAD_URL=https://github.com/yona-projects/yona/releases/download/v${YONA_VERSION}/${YONA_BIN} ---> Using cache ---> faef7646e1f7 Step 6/17 : RUN apk add --no-cache unzip bash tzdata ---> Using cache ---> 8176e843cbbc Step 7/17 : ENV TZ Asia/Seoul ---> Using cache ---> d8fe790947c9 Step 8/17 : RUN mkdir -p /yona/downloads ---> Using cache ---> 0b5ce27885b4 Step 9/17 : RUN cd /yona/downloads && wget --no-check-certificate $YONA_DOWNLOAD_URL && unzip -d /yona/release ${YONA_B IN} && mv /yona/release/yona-$YONA_VERSION /yona/release/yona && rm -f ${YONA_BIN} ---> Running in 175906140d6f

Connecting to github.com (15.164.81.167:443) wget: server returned error: HTTP/1.1 404 Not Found

The command '/bin/sh -c cd /yona/downloads && wget --no-check-certificate $YONA_DOWNLOAD_URL && unzip -d /yona/release ${YONA_BIN} && mv /yona/release/yona-$YONA_VERSION /yona/release/yona && rm -f ${YONA_BIN}' returned a non-zero code: 1 [Done]

pokev25 commented 3 years ago

최근에 패치가 있어서 그런것 같습니다. 수정해서 올릴께요.

pokev25 commented 3 years ago

https://github.com/yona-projects/yona/issues/714

이 이슈로 인하여 버전은 그대로인데 배포 파일명이 변경되어서 안되었네요.

수정해서 올려놨으니 다시 받으시면 동작 할꺼에요.

hanbada79 commented 3 years ago

어잌후 이렇게 빠르게 .. 감사합니다.

hanbada79 commented 3 years ago

[Run] [Building] "pokev25/yona:1.15.0" via full package Sending build context to Docker daemon 9.216 kB Step 1/17 : FROM openjdk:8-jdk-alpine3.9 ---> a3562aa0b991 Step 2/17 : LABEL Description "This image is used to start the yona" maintainer "pokev25" ---> Using cache ---> de86734ffda5 Step 3/17 : ARG YONA_VERSION=1.15.0 ---> Using cache ---> 9eee8ee6410c Step 4/17 : ARG YONA_BIN=yona-v1.15.1-bin.zip ---> Running in 8fadc7a52e5b ---> 49b54e29eec8 Removing intermediate container 8fadc7a52e5b Step 5/17 : ARG YONA_DOWNLOAD_URL=https://github.com/yona-projects/yona/releases/download/v${YONA_VERSION}/${YONA_BIN} ---> Running in 0adeb87a6650 ---> e90d2a4d8c6d Removing intermediate container 0adeb87a6650 Step 6/17 : RUN apk add --no-cache unzip bash tzdata ---> Running in f465d3a9b134

fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz WARNING: Ignoring http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz: temporary error (try again later) fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz WARNING: Ignoring http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz: temporary error (try again later) ERROR: unsatisfiable constraints: bash (missing): required by: world[bash] tzdata (missing): required by: world[tzdata] unzip (missing): required by: world[unzip] The command '/bin/sh -c apk add --no-cache unzip bash tzdata' returned a non-zero code: 3 [Done]

휴... 이번에는 다른 오류이네요 .

pokev25 commented 3 years ago

지금 해보니 저는 정상적으로 됩니다.

에러 메시지 처럼 해당 이미지의 일시적인 오류 같습니다.

다시 해봐도 동일하다면 다음의 명령으로 빌드 캐시를 삭제 하도록 하고 재시도 해보세요.

docker builder prune -a

직접 빌드 하셔야 하는 이유가 없으시면 받아서 사용하세요.

docker pull pokev25/yona:1.15.0