From 30abff64248f13aec7eec429a88a1aa6519c1d5f Mon Sep 17 00:00:00 2001 From: Yuya Ebihara Date: Fri, 22 Nov 2024 16:01:28 +0900 Subject: [PATCH] Revert reducing image size of Unity catalog --- testing/unity-catalog/Dockerfile | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/testing/unity-catalog/Dockerfile b/testing/unity-catalog/Dockerfile index d9511390..81db60c2 100644 --- a/testing/unity-catalog/Dockerfile +++ b/testing/unity-catalog/Dockerfile @@ -11,23 +11,18 @@ # limitations under the License. ARG ARCH -FROM testing/almalinux9-oj17:unlabelled$ARCH AS builder +FROM testing/almalinux9-oj17:unlabelled$ARCH RUN yum update -y && \ yum install -y git && \ yum clean all -y -RUN git clone --depth=1 https://github.com/unitycatalog/unitycatalog.git unity +RUN git clone https://github.com/unitycatalog/unitycatalog.git unity -WORKDIR /unity +WORKDIR unity RUN build/sbt package -FROM testing/almalinux9-oj17:unlabelled$ARCH - -WORKDIR /unity -COPY --from=builder /unity /unity - EXPOSE 8080 CMD ["bin/start-uc-server"]