cmu-delphi / forecast-eval

delphi.cmu.edu/forecast-eval
MIT License
5 stars 2 forks source link

Docker build errors #287

Closed dsweber2 closed 1 year ago

dsweber2 commented 1 year ago

Trying to use make to get a docker version of this running, and I ran into a couple of problems:

  1. imageTag isn't defined anywhere; defining it as imageTag=latest at the start of the makefile was a work around, but I assume that it should generally be added to environmental variables instead
  2. getting a 100 error from apt-get(?) inside of docker:
    E: Problem executing scripts APT::Update::Post-Invoke 'rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true'
    E: Sub-process returned an error code
    The command '/bin/sh -c apt-get update && apt-get install -qq -y     libgdal-dev     libudunits2-dev &&     rm -rf /var/cache/apt &&     apt-get clean' returned a non-zero code: 100
    make: *** [Makefile:72: build_dashboard] Error 100

    which appears to not be the problem described in the readme

nmdefries commented 1 year ago

getting a 100 error from apt-get(?) inside of docker

Do you have an old version of docker? Might try updating to Docker >= 20.10.9 as a first step.