Skip to content

Commit 6cfbd41

Browse files
committed
Url update and log4j replace to reload4j
1 parent 267b4f8 commit 6cfbd41

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

Dockerfile_log4j_patched

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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+

reload4j-1.2.26.jar

331 KB
Binary file not shown.

0 commit comments

Comments
 (0)