From f2093047b5bd2a333d1523e7e919fb76c48f896e Mon Sep 17 00:00:00 2001 From: Devan Carpenter Date: Sun, 21 Feb 2021 15:40:21 +0100 Subject: [PATCH] CI: install JDK before building JNIAdapter --- scripts/debian10/pEpJNIAdapter.debian10.Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/debian10/pEpJNIAdapter.debian10.Dockerfile b/scripts/debian10/pEpJNIAdapter.debian10.Dockerfile index ed7f8bc..dd85795 100644 --- a/scripts/debian10/pEpJNIAdapter.debian10.Dockerfile +++ b/scripts/debian10/pEpJNIAdapter.debian10.Dockerfile @@ -8,6 +8,12 @@ ENV BUILDROOT /build ENV INSTPREFIX /install ENV OUTDIR /out +### Install system dependencies +USER root +RUN apt-get update -yqq && \ + apt-get install -yqq default-jdk-headless +USER pep-builder + ### Setup working directory RUN mkdir ${BUILDROOT}/pEpJNIAdapter COPY . ${BUILDROOT}/pEpJNIAdapter