aroz-dockerize
aroz-dockerize copied to clipboard
docker compose up and then failed
ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.13/main: temporary error (try again later) WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.13/main: No such file or directory ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.13/community: temporary error (try again later) WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.13/community: No such file or directory ERROR: unable to select packages: git (no such package): required by: world[git] ERROR: Service 'app' failed to build: The command '/bin/sh -c apk add git' returned a non-zero code: 1
ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.13/main: temporary error (try again later)
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.13/main: No such file or directory
ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.13/community: temporary error (try again later)
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.13/community: No such file or directory
ERROR: unable to select packages:
git (no such package):
required by: world[git]
ERROR: Service 'app' failed to build: The command '/bin/sh -c apk add git' returned a non-zero code: 1
I am also facing the same issue
It looks like alpine has a problem with docker engine dns, something like
FROM golang:buster
RUN apt update -y && apt install -y git
RUN git clone https://github.com/tobychui/arozos.git /arozos
WORKDIR /arozos/src
RUN git checkout v1.113
RUN go build
CMD /arozos/src/arozos -port 80
should get you through. However, at v1.113 aroz fails to start anyway, so probably don't give it a high expectation.
after tinkering a bit, it turns out that HEAD works fine for now:
FROM golang:buster
RUN apt -y update && apt -y install git
RUN git clone https://github.com/tobychui/arozos /arozos
WORKDIR /arozos/src
RUN go build
CMD ./arozos -port 80
Okay, Thanks for the update @tianhaoz95