Is one of these two docker hub images an official base for the Julia language?
You may have to elaborate on “official base”?
julialang/julia has a few different older versions
Julia 0.3.12, Julia 0.4.7, Julia 0.5.0 and Julia 0.6.0-dev. Julia v0.4.7 is the default.
_/julia is on v1.0.2, and maintained by the Docker community, probably use this one unless you need an older version
I guess the question is, which one should I be using?
Based on your responce it seems that
_/julia is the most appropriate?
The (Docker) Official Julia images ( Debian ) is perfect for the average users.
- frequent updates
- minimal size ( so you don’t find an :
- created from official Julia binary image ( https://julialang.org/downloads/ ) ; patched LLVM !!!
- Multiple Julia versions, good for testing (`0.7.0’,‘1.0.0’,‘1.0.1’,‘1.0.2’)
But need some customization (
curl , + some julia packages )
for example - in my case:
FROM julia:1.0.2 RUN set -eux; \ apt-get update; \ apt-get install -y --no-install-recommends \ ca-certificates \ autoconf \ build-essential \ git \ mc \ nano \ curl \ ; \ rm -rf /var/lib/apt/lists/* RUN julia -O3 -e 'using Pkg;Pkg.REPLMode.pkgstr("add CSV ;precompile");using CSV' RUN julia -O3 -e 'using Pkg;Pkg.REPLMode.pkgstr("add SQLite;precompile");using SQLite' RUN julia -O3 -e 'using Pkg;Pkg.REPLMode.pkgstr("add XLSX ;precompile");using XLSX' WORKDIR /projects