File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM ubuntu:20.04 AS transform
2+
3+ RUN apt-get update && apt-get install -y wget openjdk-8-jdk gnupg
4+ RUN apt-get update && apt-get install curl -y
5+
6+ RUN echo "deb https://repo.scala-sbt.org/scalasbt/debian /" | tee -a /etc/apt/sources.list.d/sbt.list
7+ RUN curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" | apt-key add
8+ # RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823
9+ RUN apt-get update && apt-get install -y sbt
10+ COPY ["map-pipeline", "map-pipeline"]
11+ WORKDIR map-pipeline
12+ RUN sbt assembly
13+
14+
15+ FROM txscience/ctmd-pipeline-reload:v2.11
16+
17+ WORKDIR /
18+
19+ COPY ["log4j-1.2.17-cloudera.jar", "/spark-2.4.8-bin-hadoop2.7/jars/log4j-1.2.26.jar"]
20+ COPY --from=transform ["map-pipeline/target/scala-2.11/TIC preprocessing-assembly-0.2.0.jar", "TIC preprocessing-assembly.jar"]
21+
22+
23+ ENTRYPOINT ["python3", "application.py"]
24+
You can’t perform that action at this time.
0 commit comments