You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by js...@apache.org on 2024/08/23 10:36:27 UTC
(gravitino) branch branch-0.6 updated: [MINOR] Use Debian as gravitino basic image ,otherwise lack of basic tools like 'wget','apt-get' (#4655)
This is an automated email from the ASF dual-hosted git repository.
jshao pushed a commit to branch branch-0.6
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/branch-0.6 by this push:
new dd7e55087 [MINOR] Use Debian as gravitino basic image ,otherwise lack of basic tools like 'wget','apt-get' (#4655)
dd7e55087 is described below
commit dd7e55087cddf5224c5544c9becfcacf26323f20
Author: roryqi <ro...@apache.org>
AuthorDate: Fri Aug 23 18:36:23 2024 +0800
[MINOR] Use Debian as gravitino basic image ,otherwise lack of basic tools like 'wget','apt-get' (#4655)
### 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
```
Co-authored-by: danhuawang <15...@users.noreply.github.com>
---
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="dev@gravitino.apache.org"
WORKDIR /root/gravitino