Skip to content

Commit

Permalink
[NEP][Dockerfile] add Dockerfile for nep-spark-app build
Browse files Browse the repository at this point in the history
  • Loading branch information
kangdw0x80 committed Apr 25, 2024
1 parent 5d6b16e commit 1390fb7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM openjdk:8-slim-buster AS build
RUN apt update -y && dpkg --purge --force-depends ca-certificates-java
RUN apt install -y ca-certificates-java
RUN apt install -y maven
RUN apt install -y liblzo2-dev

RUN mkdir /seatunnel
COPY . /seatunnel/
WORKDIR /seatunnel
RUN ./mvnw install -Dmaven.test.skip -Drevision=2.3.3
4 changes: 4 additions & 0 deletions make-seatunnel-pre-installed-image.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

docker build -t harbor.nexr.kr/nep/seatunnel-pre-installed:2.3.3 .
docker push harbor.nexr.kr/nep/seatunnel-pre-installed:2.3.3

0 comments on commit 1390fb7

Please sign in to comment.