Makie

1. Interaction

apt-get -qq update
apt-get install --no-install-recommends \
	build-essential \
  libxrandr-dev libxinerama-dev libxcursor-dev libglfw3-dev `# for Makie`
pkg"up; add WebSockets WebIO#master JSExpr@0.3.1 Observables CSSUtil Interact ImageFiltering Makie AbstractPlotting GLMakie FixedPointNumbers StatsMakie MakieThemes CSV DataFrames MakieGallery PackageCompiler#master DecFP LaTeXStrings DataValues DataStructures StatsBase CategoricalArrays IteratorInterfaceExtensions TableTraits ImageTransformations Images ImageFiltering ImageShow"
using PackageCompiler
PackageCompiler.compile_incremental(:Makie, :StatsMakie, :MakieThemes, :CSV, :DataFrames, blacklist = [:QuartzImageIO, :Distributed])
("/root/.julia/packages/PackageCompiler/j33Dw/sysimg/sys.so", "/usr/local/julia/lib/julia/sys.so")
ENV["DISPLAY"] = ":0"
toml_path = PackageCompiler.package_folder("Project.toml")
file = PackageCompiler.package_folder("incremental_precompile.jl")
PackageCompiler.compile_incremental(toml_path, file)
Julia

Copy the code from CairoMakie to assert that we replaced the system-image file!

using Makie
scatter(rand(10))