Closed mmzx closed 3 years ago
Example input: erdtag="0.2.1.0-2"; cd erd && docker build -t erd:$erdtag . && docker run -it erd:$erdtag "--help" Results in:
erdtag="0.2.1.0-2"; cd erd && docker build -t erd:$erdtag . && docker run -it erd:$erdtag "--help"
Sending build context to Docker daemon 350.2kB Step 1/5 : FROM haskell:8 ---> b3ecd18b6c75 Step 2/5 : WORKDIR /opt/erd ---> Using cache ---> 45b772d321dc Step 3/5 : RUN apt-get update && apt-get install -y graphviz ---> Running in 4ea76782f159 Err:1 http://security.debian.org/debian-security buster/updates InRelease Temporary failure resolving 'security.debian.org' Err:2 http://deb.debian.org/debian buster InRelease Temporary failure resolving 'deb.debian.org' Err:3 http://downloads.haskell.org/debian buster InRelease Temporary failure resolving 'downloads.haskell.org' Err:4 http://deb.debian.org/debian buster-updates InRelease Temporary failure resolving 'deb.debian.org' Reading package lists... W: Failed to fetch http://deb.debian.org/debian/dists/buster/InRelease Temporary failure resolving 'deb.debian.org' W: Failed to fetch http://security.debian.org/debian-security/dists/buster/updates/InRelease Temporary failure resolving 'security.debian.org' W: Failed to fetch http://deb.debian.org/debian/dists/buster-updates/InRelease Temporary failure resolving 'deb.debian.org' W: Failed to fetch http://downloads.haskell.org/debian/dists/buster/InRelease Temporary failure resolving 'downloads.haskell.org' W: Some index files failed to download. They have been ignored, or old ones used instead. Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package graphviz The command '/bin/sh -c apt-get update && apt-get install -y graphviz' returned a non-zero code: 100
This is a local setup issue.
Example input:
erdtag="0.2.1.0-2"; cd erd && docker build -t erd:$erdtag . && docker run -it erd:$erdtag "--help"
Results in: