[
https://issues.apache.org/jira/browse/HBASE-22674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16884071#comment-16884071
]
Sean Busbey commented on HBASE-22674:
-------------------------------------
odd.
{code}
Busbey-MBA:hbase-operator-tools busbey$ docker_temp=$(mktemp -d -t docker-temp)
Busbey-MBA:hbase-operator-tools busbey$ docker build --file
dev-support/Dockerfile "${docker_temp}"
Sending build context to Docker daemon 2.607kB
Step 1/4 : FROM maven:3.6-jdk-8
---> a3375927ebec
Step 2/4 : RUN apt-get -q update && apt-get -q install --no-install-recommends
-y git rsync shellcheck wget && apt-get clean
&& rm -rf /var/lib/apt/lists/*
---> Using cache
---> e8d5c4615223
Step 3/4 : ENV MAVEN_OPTS -Xmx3g
---> Using cache
---> f9ed4ddbea1a
Step 4/4 : CMD ["/bin/bash"]
---> Using cache
---> 8031a248dfdf
Successfully built 8031a248dfdf
Busbey-MBA:hbase-operator-tools busbey$ docker run --interactive --tty
--entrypoint /bin/bash 8031a248dfdf
root@379f5261fcac:/# echo $JAVA_HOME
/usr/local/openjdk-8
root@379f5261fcac:/# java -version
openjdk version "1.8.0_212"
OpenJDK Runtime Environment (build 1.8.0_212-b04)
OpenJDK 64-Bit Server VM (build 25.212-b04, mixed mode)
root@379f5261fcac:/# javac -version
javac 1.8.0_212
root@379f5261fcac:/#
{code}
looking around some more.
> precommit docker image installs JRE over JDK (multiple repos)
> -------------------------------------------------------------
>
> Key: HBASE-22674
> URL: https://issues.apache.org/jira/browse/HBASE-22674
> Project: HBase
> Issue Type: Bug
> Components: build, hbase-connectors
> Affects Versions: connector-1.0.0, operator-1.0.0
> Reporter: Sean Busbey
> Assignee: Sean Busbey
> Priority: Critical
> Fix For: connector-1.0.1, operator-1.0.0
>
>
> see INFRA-18721
> precommit builds are failing for the hbase-connectors repo because maven sees
> a JRE and no JDK provided compiler.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)