mobileinsight-apptainer/with-spark.def

17 lines
344 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==3.5.1
# Cleanup
apt-get autoclean -y