Skip to content

Commit

Permalink
Replace Ubuntu Focal openjdk image for Adoptjdk Focal
Browse files Browse the repository at this point in the history
For some not yet identified, defauly Ubuntu openjdk 11 fail to build
current instance of Ort upstream code.
AdoptOpenJDk fix the issue as a better solution.

Signed-off-by: Helio Chissini de Castro <helio@kde.org>
  • Loading branch information
heliocastro committed Nov 5, 2021
1 parent 58c386e commit c469070
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

#------------------------------------------------------------------------
# build base for main
FROM ubuntu:focal AS base
FROM adoptopenjdk/openjdk11:ubuntu-slim AS base

# Set shell for bash and default pipefail
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
Expand Down Expand Up @@ -77,7 +77,6 @@ RUN apt-get update \
libxrender1 \
libxtst6 \
netbase \
openjdk-11-jre \
openssh-client \
sbt="$SBT_VERSION" \
subversion \
Expand Down Expand Up @@ -114,7 +113,6 @@ RUN apt-get update \
libssl-dev \
make \
netbase \
openjdk-11-jdk \
openssl \
tk-dev \
tzdata \
Expand Down

0 comments on commit c469070

Please sign in to comment.