-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from joseguerr/minor-SW10-add-dockerfile
Minor sw10 add dockerfile
- Loading branch information
Showing
5 changed files
with
48 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
FROM python:3.11-slim | ||
|
||
EXPOSE 4040 | ||
|
||
RUN echo "Installing Packages" && \ | ||
apt-get update && \ | ||
apt-get install -y default-jre wget tar make && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
RUN echo "Installing Spark" && \ | ||
cd /opt && \ | ||
wget -q https://archive.apache.org/dist/spark/spark-3.5.2/spark-3.5.2-bin-hadoop3.tgz && \ | ||
tar -xf spark-3.5.2-bin-hadoop3.tgz && \ | ||
rm -f spark-3.5.2-bin-hadoop3.tgz && \ | ||
pip install -e /opt/spark-3.5.2-bin-hadoop3/python | ||
|
||
ENV HADOOP_CONF_DIR=/opt/spark-3.5.2-bin-hadoop3/conf | ||
|
||
COPY . . | ||
|
||
RUN make clean && \ | ||
make setup && \ | ||
make build | ||
|
||
CMD ["/bin/bash"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,7 @@ Configuration is defined in [app_config.yaml](app_config.yaml) and managed by th | |
## Pre-requisites | ||
- OpenJDK@17 | ||
- [email protected] | ||
- [email protected].0 | ||
- [email protected].2 | ||
- [email protected] | ||
|
||
## Execution instructions | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters