Has anyone built a docker image from the “official” ( Docker Hub ) one which successfully builds Plots
?
Try this code:
FROM julia:1.3
# Add Packages based on : https://github.com/JuliaPlots/Plots.jl/blob/master/.travis.yml#L18
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
at-spi2-core \
libgtk-3-dev \
xauth \
xvfb \
&& rm -rf /var/lib/apt/lists/
RUN julia -e 'using Pkg; Pkg.REPLMode.pkgstr("add Plots;precompile");using Plots'
not optimal code; based on Extra Debian packages - need for the travis test.