[ https://issues.apache.org/jira/browse/HIVE-26400?focusedWorklogId=852512&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-852512 ]
ASF GitHub Bot logged work on HIVE-26400: ----------------------------------------- Author: ASF GitHub Bot Created on: 23/Mar/23 12:37 Start Date: 23/Mar/23 12:37 Worklog Time Spent: 10m Work Description: deniskuzZ commented on code in PR #3448: URL: https://github.com/apache/hive/pull/3448#discussion_r1146124731 ########## packaging/src/docker/Dockerfile: ########## @@ -0,0 +1,54 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +FROM openjdk:8-jre + +ARG HADOOP_VERSION +ARG HIVE_VERSION +ARG TEZ_VERSION + +# Install dependencies +RUN set -ex; \ + apt-get update; \ + apt-get -y install curl; \ + apt-get -y install procps; \ + rm -rf /var/lib/apt/lists/* + +COPY hadoop-$HADOOP_VERSION.tar.gz /opt +COPY apache-hive-$HIVE_VERSION-bin.tar.gz /opt +COPY apache-tez-$TEZ_VERSION-bin.tar.gz /opt + +RUN tar -xzvf /opt/hadoop-$HADOOP_VERSION.tar.gz -C /opt/ && \ Review Comment: you don't need the archives in the image, you can just copy the final files Issue Time Tracking ------------------- Worklog Id: (was: 852512) Time Spent: 9h (was: 8h 50m) > Provide docker images for Hive > ------------------------------ > > Key: HIVE-26400 > URL: https://issues.apache.org/jira/browse/HIVE-26400 > Project: Hive > Issue Type: Sub-task > Components: Build Infrastructure > Reporter: Zhihua Deng > Assignee: Zhihua Deng > Priority: Blocker > Labels: hive-4.0.0-must, pull-request-available > Time Spent: 9h > Remaining Estimate: 0h > > Make Apache Hive be able to run inside docker container in pseudo-distributed > mode, with MySQL/Derby as its back database, provide the following: > * Quick-start/Debugging/Prepare a test env for Hive; > * Tools to build target image with specified version of Hive and its > dependencies; > * Images can be used as the basis for the Kubernetes operator. -- This message was sent by Atlassian Jira (v8.20.10#820010)