[
https://issues.apache.org/jira/browse/HIVE-27277?focusedWorklogId=861097&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-861097
]
ASF GitHub Bot logged work on HIVE-27277:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 09/May/23 01:10
Start Date: 09/May/23 01:10
Worklog Time Spent: 10m
Work Description: dengzhhu653 commented on code in PR #4298:
URL: https://github.com/apache/hive/pull/4298#discussion_r1188022575
##########
packaging/src/docker/Dockerfile:
##########
@@ -14,14 +14,31 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
+ARG BUILD_ENV
+
FROM ubuntu as unarchive
+ONBUILD COPY hadoop-*.tar.gz /opt
+ONBUILD COPY apache-hive-*-bin.tar.gz /opt
+ONBUILD COPY apache-tez-*-bin.tar.gz /opt
+
+FROM ubuntu as archive
+ARG HADOOP_VERSION
+ARG HIVE_VERSION
+ARG TEZ_VERSION
+ONBUILD RUN apt-get update && apt-get -y install wget
+ONBUILD RUN wget
https://archive.apache.org/dist/tez/$TEZ_VERSION/apache-tez-$TEZ_VERSION-bin.tar.gz
&& \
+ wget
https://archive.apache.org/dist/hadoop/core/hadoop-$HADOOP_VERSION/hadoop-$HADOOP_VERSION.tar.gz
&& \
+ wget
https://archive.apache.org/dist/hive/hive-$HIVE_VERSION/apache-hive-$HIVE_VERSION-bin.tar.gz
Review Comment:
nit: When we create a rel/release-*, in Dockerfile we get the hive tarball
from
https://archive.apache.org/dist/hive/hive-$HIVE_VERSION/apache-hive-$HIVE_VERSION-bin.tar.gz,
I'm not sure it would be there on the event rel/release-* created.
Issue Time Tracking
-------------------
Worklog Id: (was: 861097)
Time Spent: 4h (was: 3h 50m)
> Set up github actions workflow to build and push docker image to docker hub
> ---------------------------------------------------------------------------
>
> Key: HIVE-27277
> URL: https://issues.apache.org/jira/browse/HIVE-27277
> Project: Hive
> Issue Type: Sub-task
> Reporter: Simhadri Govindappa
> Assignee: Simhadri Govindappa
> Priority: Major
> Labels: pull-request-available
> Time Spent: 4h
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)