Skip to content

Commit cdeec2e

Browse files
author
Leo Lindén
authored
Create Dockerfile.spark
1 parent d534208 commit cdeec2e

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

Dockerfile.spark

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
FROM python:3.11
2+
3+
4+
# Install curl and wget
5+
RUN apt-get update && apt-get install -y curl wget
6+
7+
ENV JAVA_VERSION=11
8+
9+
# Install OpenJDK
10+
RUN apt-get update
11+
RUN apt install default-jre -y
12+
13+
# Verify Java Installation
14+
RUN java -version
15+
16+
# Install pandas
17+
RUN pip install pandas
18+
19+
# Install PySpark
20+
RUN pip install pyspark

0 commit comments

Comments
 (0)