mobileinsight-apptainer/with-spark.def

17 lines
361 B
Modula-2

Bootstrap: localimage
From: mobileinsight.sif
%post
# Update and install dependencies
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get upgrade -y
apt-get install -y \
python3-pandas \
openjdk-8-jre-headless \
scala
pip3 install pyspark[sql]==3.5.1 dill==0.3.8
# Cleanup
apt-get autoclean -y