diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000000..10befef0023b --- /dev/null +++ b/Dockerfile @@ -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 diff --git a/make-seatunnel-pre-installed-image.sh b/make-seatunnel-pre-installed-image.sh new file mode 100644 index 000000000000..2d0d89d95eb9 --- /dev/null +++ b/make-seatunnel-pre-installed-image.sh @@ -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