You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dev/hive/Dockerfile
+9-11Lines changed: 9 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -13,21 +13,19 @@
13
13
# See the License for the specific language governing permissions and
14
14
# limitations under the License.
15
15
16
-
FROM openjdk:8-jre-slim AS build
17
-
18
-
RUN apt-get update -qq && apt-get -qq -y install curl
16
+
FROM apache/hive:4.0.0
19
17
20
18
ENV HADOOP_VERSION=3.3.6
21
19
ENV AWS_SDK_BUNDLE=1.12.753
22
20
23
-
RUN curl https://repo1.maven.org/maven2/org/apache/hadoop/hadoop-aws/${HADOOP_VERSION}/hadoop-aws-${HADOOP_VERSION}.jar -Lo /tmp/hadoop-aws-${HADOOP_VERSION}.jar
24
-
RUN curl https://repo1.maven.org/maven2/com/amazonaws/aws-java-sdk-bundle/${AWS_SDK_BUNDLE}/aws-java-sdk-bundle-${AWS_SDK_BUNDLE}.jar -Lo /tmp/aws-java-sdk-bundle-${AWS_SDK_BUNDLE}.jar
21
+
USER root
25
22
26
-
FROM apache/hive:4.0.0
23
+
# Install curl, download JARs, and cleanup in a single layer
0 commit comments