-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[5.9] Modified Dockerfiles to have OS based base image and adoptium JDK 8 #332
Conversation
dockerfiles/alpine/is/Dockerfile
Outdated
ARG WSO2_SERVER=${WSO2_SERVER_NAME}-${WSO2_SERVER_VERSION} | ||
ARG WSO2_SERVER_HOME=${USER_HOME}/${WSO2_SERVER} | ||
ARG WSO2_SERVER_DIST_URL=https://bintray.com/wso2/binaryGA/download_file?file_path=${WSO2_SERVER}.zip | ||
ARG WSO2_SERVER_DIST_URL=https://github.com/wso2/${WSO2_SERVER_REPOSITORY}/releases/download/v${WSO2_SERVER_VERSION}/${WSO2_SERVER}.zip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't have 5.9 zip artifacts in the given location. This link is not downloadable.
https://github.com/wso2/product-is/releases/tag/v5.9.0
dockerfiles/alpine/is/Dockerfile
Outdated
# build arguments for external artifacts | ||
ARG DNS_JAVA_VERSION=2.1.8 | ||
ARG K8S_MEMBERSHIP_SCHEME_VERSION=1.0.5 | ||
ARG K8S_MEMBERSHIP_SCHEME_VERSION=1.0.8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason for this K8 scheme version bump?
dockerfiles/ubuntu/is/Dockerfile
Outdated
@@ -1,6 +1,6 @@ | |||
# ------------------------------------------------------------------------ | |||
# | |||
# Copyright 2017 WSO2, Inc. (http://wso2.com) | |||
# Copyright 2021 WSO2, Inc. (http://wso2.com) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't needs to change the year
dockerfiles/ubuntu/is/Dockerfile
Outdated
ARG WSO2_SERVER=${WSO2_SERVER_NAME}-${WSO2_SERVER_VERSION} | ||
ARG WSO2_SERVER_HOME=${USER_HOME}/${WSO2_SERVER} | ||
ARG WSO2_SERVER_DIST_URL=https://bintray.com/wso2/binaryGA/download_file?file_path=${WSO2_SERVER}.zip | ||
ARG WSO2_SERVER_DIST_URL=https://github.com/wso2/${WSO2_SERVER_REPOSITORY}/releases/download/v${WSO2_SERVER_VERSION}/${WSO2_SERVER}.zip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check the link
dockerfiles/alpine/is/Dockerfile
Outdated
@@ -1,6 +1,6 @@ | |||
# ------------------------------------------------------------------------ | |||
# | |||
# Copyright 2018 WSO2, Inc. (http://wso2.com) | |||
# Copyright 2021 WSO2, Inc. (http://wso2.com) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to update the year. If it is a new file, then we need to add the licence header
dockerfiles/ubuntu/is/Dockerfile
Outdated
|
||
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' | ||
|
||
#Install JDK Dependencies |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets add a space after #. Also end the comment with a full stop. Look at the other places as well.
12bb345
to
0d15212
Compare
0d15212
to
5644628
Compare
Purpose
Changed the dockerfiles to have a base OS image with JDK installed on top of it, instead of directly importing a jdk installed image. Furthermore, brought the dockerfiles to a common format according to what was done in #316 and #318.
Security checks
Related PRs
#318
#316