Skip to content

Instantly share code, notes, and snippets.

@luthfianto
Last active April 5, 2025 10:18
Show Gist options
  • Save luthfianto/97a1da616980de29e7273dae65d1bcb0 to your computer and use it in GitHub Desktop.
Save luthfianto/97a1da616980de29e7273dae65d1bcb0 to your computer and use it in GitHub Desktop.
Dockerfile for maxcompute environment
# https://www.alibabacloud.com/help/en/maxcompute/user-guide/develop-a-spark-on-maxcompute-application-by-using-pyspark#section-0q7-5da-5vt
FROM ubuntu
RUN apt update && apt -y install python3 python3-pip python3-venv zip && apt clean
RUN python3 -m venv mantap
RUN mantap/bin/pip install catboost lightgbm xgboost scikit-learn
RUN zip -r mantap.zip mantap/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment