This is an automated email from the ASF dual-hosted git repository.
fanng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/main by this push:
new 0681de7af [MINOR] Use Debian as gravitino basic image ,otherwise lack
of basic tools like 'wget','apt-get' (#4415)
0681de7af is described below
commit 0681de7afefbdf2c7cee7cb1a37a11c7574a55ab
Author: danhuawang <[email protected]>
AuthorDate: Wed Aug 7 17:21:07 2024 +0800
[MINOR] Use Debian as gravitino basic image ,otherwise lack of basic tools
like 'wget','apt-get' (#4415)
### What changes were proposed in this pull request?
Use the linux distribution include basic tools like wget ,apt-get as
basic image
The Debian linux distribution include basic tools like wget ,apt-get.
While oracle linux use the YUM package manager, use yum command to
install packages.
### Why are the changes needed?
Gravitino docker used to build based on Debian, change to oracle linux
is not consistent.
openjdk:17 ,it build from oraclelinux:8-slim
https://hub.docker.com/layers/library/openjdk/17/images/sha256-98f0304b3a3b7c12ce641177a99d1f3be56f532473a528fda38d53d519cafb13?context=explore
openjdk:17-jdk-buster, it build from debian:10, 10.12, buster,
buster-20220418
https://hub.docker.com/layers/library/openjdk/17-jdk-buster/images/sha256-e462f39f589395ce928db22f3c8ea2ca83ade3f78a0227133b5ffebfa0289ab0?context=explore
### Does this PR introduce _any_ user-facing change?
N/A
### How was this patch tested?
Run script on local:
```
./dev/docker/build-docker.sh --platform all --type gravitino --image
datastrato/gravitino --tag 0.6.0-SNAPSHOT-268 --latest
```
---
dev/docker/gravitino/Dockerfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev/docker/gravitino/Dockerfile b/dev/docker/gravitino/Dockerfile
index 763884fc8..9f2ce7e90 100644
--- a/dev/docker/gravitino/Dockerfile
+++ b/dev/docker/gravitino/Dockerfile
@@ -16,7 +16,7 @@
# specific language governing permissions and limitations
# under the License.
#
-FROM openjdk:17
+FROM openjdk:17-jdk-buster
LABEL maintainer="[email protected]"
WORKDIR /root/gravitino