-
Notifications
You must be signed in to change notification settings - Fork 408
[REFACTOR] Switch docker base image to Eclipse Temurin #509
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
Conversation
docker/Dockerfile
Outdated
| apt install -y bash tini sshpass openssh-client vim bind9-utils telnet net-tools procps && \ | ||
| rm /bin/sh && \ | ||
| ln -sv /bin/bash /bin/sh && \ | ||
| echo "auth required pam_wheel.so use_uid" >> /etc/pam.d/su && \ |
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.
grant the current user for su?
docker/Dockerfile
Outdated
| RUN chmod +x /usr/bin/tini | ||
| RUN set -ex && \ | ||
| apt-get update && \ | ||
| ln -s /lib /lib64 && \ |
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.
why do this?
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.
According to apache/spark#25255 this PR, maybe we don't need this.
| ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /usr/bin/tini | ||
| RUN chmod +x /usr/bin/tini | ||
| RUN set -ex && \ | ||
| apt-get update && \ |
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.
do we want to use aliyun mirror?
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.
+1 for build speed
|
maybe arthas could be included in the docker image as well, WDYT? @waitinfuture @AngersZhuuuu |
|
Has this been tested? |
I had build docker images by this Dockerfile. I will test in kubernetes env. And pause some screenshoot later. |
|
I meet a problem in this Dockerfile: |
waitinfuture
left a comment
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.
LGTM, thanks!
|
Please have a test ping @fanyilun |
|
It looks good to me now, thanks. |


[REFACTOR] Switch docker base image to Eclipse Temurin
What changes were proposed in this pull request?
To close #508 & #381
Why are the changes needed?
According to docker-library/openjdk#505
What are the items that need reviewer attention?
Related issues.
Related pull requests.
How was this patch tested?
/cc @pan3793
/assign @main-reviewer