I’m trying to create a Docker image for a web app. It works using Julia 1.5.3, but fails with Julia 1.6 with the following(truncated) error:
#6 96.06 Building WebIO ───→ `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/adc25e225bc334c7df6eec3b39496edfc451cc38/build.log`
#6 109.0 Building Blink ───→ `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/08d0b679fd7caa49e2bca9214b131289e19808c0/build.log`
#6 153.8 ERROR: Error building `Blink`:
#6 155.1 % Total % Received % Xferd Average Speed Time Time Time Current
#6 155.1 Dload Upload Total Spent Left Speed
100 633 100 633 0 0 136 0 0:00:04 0:00:04 --:--:-- 136
100 71.6M 100 71.6M 0 0 1945k 0 0:00:37 0:00:37 --:--:-- 2682k
#6 155.1 ERROR: LoadError: IOError: could not spawn `unzip -q electron-v4.0.4-linux-x64.zip -d atom`: no such file or directory (ENOENT)
The dockerfile is the following:
FROM julia:1.6.0
RUN julia -e 'using Pkg;Pkg.REPLMode.pkgstr("add Dash, DashCoreComponents, DashHtmlComponents, MAT, PlotlyJS, Statistics ;precompile");using Dash, DashCoreComponents, DashHtmlComponents, MAT, PlotlyJS, Statistics'
WORKDIR /root/code
ADD . /root/code
CMD julia -i startup.jl