Skip to content

Use the jre image as the base image#7680

Merged
wu-sheng merged 4 commits intomasterfrom
docker-jre
Sep 8, 2021
Merged

Use the jre image as the base image#7680
wu-sheng merged 4 commits intomasterfrom
docker-jre

Conversation

@hanahmily
Copy link
Copy Markdown
Contributor

Fixed #7597

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
@hanahmily hanahmily added the docker Docker build scripts or images related label Sep 8, 2021
@hanahmily hanahmily added this to the 8.8.0 milestone Sep 8, 2021
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
Copy link
Copy Markdown
Member

@kezhenxu94 kezhenxu94 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, FYI, I'm merging apache/skywalking-docker into this repo (and the java-agent part into apache/skywalking-java) apache/skywalking-docker#24 (comment).

# limitations under the License.

ARG BASE_IMAGE='adoptopenjdk/openjdk11:alpine'
ARG BASE_IMAGE='adoptopenjdk/openjdk11:alpine-jre'
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to update

SW_OAP_BASE_IMAGE: adoptopenjdk/openjdk${{ matrix.jdk }}:alpine
so that different versions of jre can be tested.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gotcha. I also found some other openjdk in e2e tests, for example, istio relevant cases.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have jre agent image already?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have jre agent image already?

For Java agent, no, it's still using JDK

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, seems we should take care of it later.

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
@wu-sheng
Copy link
Copy Markdown
Member

wu-sheng commented Sep 8, 2021

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed:

@kezhenxu94 This seems definitely showing up in the agent testing. But always be good in other tests. I think something breaking.

@wu-sheng
Copy link
Copy Markdown
Member

wu-sheng commented Sep 8, 2021

@kezhenxu94 Should we keep merging this? I think we have no clue about the mvnw issue.

@kezhenxu94
Copy link
Copy Markdown
Member

@kezhenxu94 Should we keep merging this? I think we have no clue about the mvnw issue.

Let's merge this

@wu-sheng wu-sheng merged commit 02458cb into master Sep 8, 2021
@kezhenxu94 kezhenxu94 deleted the docker-jre branch September 8, 2021 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docker Docker build scripts or images related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Switch to JRE base image from JDK

3 participants