Commit e08bc61
authored
infra: use apache/hive:4.0.0 as hive Dockerfile base image (#1823)
## What changes are included in this PR?
We had some failures in the Pyiceberg repo with the hive docker file
here: apache/iceberg-python#2697, so I'm porting
this over here.
The HMS test Dockerfile was using a deprecated `openjdk:8-jre-slim` base
image that has very **recently** been removed from Docker Hub, causing
build failures:
```
#7 ERROR: docker.io/library/openjdk:8-jre-slim: not found
```
Simplified the Dockerfile to use apache/hive:3.1.3 as the base image
directly, also eliminating the multi-stage build pattern. Which removes
the dependency on a deprecated OpenJDK image and will use what's
included in hive, and maintains the same functionality for HMS
integration tests.
Inspired by
[](https://github.com/trinodb/docker-images/blob/master/testing/hive4.0-hive/Dockerfile)<https://github.com/trinodb/docker-images/blob/master/testing/hive4.0-hive/Dockerfile>1 parent 835f528 commit e08bc61
1 file changed
+8
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 16 | + | |
21 | 17 | | |
22 | 18 | | |
23 | 19 | | |
24 | 20 | | |
25 | | - | |
26 | | - | |
| 21 | + | |
27 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
28 | 27 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 28 | + | |
33 | 29 | | |
34 | | - | |
35 | | - | |
36 | | - | |
| 30 | + | |
0 commit comments