Commit 848c1fcf authored by Laurent Heirendt's avatar Laurent Heirendt
Browse files
parent dde1c9cf
BootStrap: docker
From: bitnami/minideb:jessie
# add local directory for precompile files
export JULIA_DEPOT_PATH=$PWD/containerhome/.julia:/user/.julia
export PATH=/opt/julia/bin:$PATH
export HOME=/user
mkdir -p /user
export HOME=/user
export JULIA_DEPOT_PATH=/user/.julia
export PATH=/opt/julia/bin:$PATH
# could also be .0
# minideb specific install script, shaves off about 20mb compared to apt-get
install_packages curl tar gzip openssh-client git ca-certificates
curl -k$JULIA_MAJOR/julia-$JULIA_MAJOR$JULIA_MINOR-linux-x86_64.tar.gz > julia.tar.gz
mkdir /opt/julia
tar xzf julia.tar.gz -C /opt/julia
rm julia.tar.gz
mv /opt/julia/$(cd /opt/julia; echo julia-*)/* opt/julia/
rm -rf /opt/julia/$(cd /opt/julia; echo julia-*)
rm -rf /opt/julia/share/doc
rm -rf /opt/julia/share/icons
rm -rf /opt/julia/share/appdata
rm -rf /opt/julia/share/applications
rm -rf /opt/julia/share/man
rm -rf /opt/julia/share/julia/test
rm /opt/julia/
rm -rf /opt/julia/etc
rm -rf /opt/julia/include
mkdir -p /user/.julia/environments/$JULIA_MAJOR
# julia -e 'using Pkg; Pkg.instantiate();'
# mkdir -p /opt/.julia/environments/v1.3/
# julia -e 'using Pkg; Pkg.status()'
# chmod -R a+rX $JULIA_DEPOT_PATH
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment