You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by nw...@apache.org on 2019/01/22 22:32:52 UTC
[incubator-heron] branch master updated: remove heron-core.tar.gz
from docker image (#3164)
This is an automated email from the ASF dual-hosted git repository.
nwang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git
The following commit(s) were added to refs/heads/master by this push:
new 00903d1 remove heron-core.tar.gz from docker image (#3164)
00903d1 is described below
commit 00903d1d0b5e1f976158736429ef7c9f7a1c223c
Author: Yao Li <cl...@gmail.com>
AuthorDate: Tue Jan 22 14:32:46 2019 -0800
remove heron-core.tar.gz from docker image (#3164)
---
docker/dist/Dockerfile.dist.centos7 | 3 ++-
docker/dist/Dockerfile.dist.debian9 | 1 +
docker/dist/Dockerfile.dist.ubuntu14.04 | 3 ++-
docker/dist/Dockerfile.dist.ubuntu16.04 | 3 ++-
docker/dist/Dockerfile.dist.ubuntu18.04 | 3 ++-
5 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/docker/dist/Dockerfile.dist.centos7 b/docker/dist/Dockerfile.dist.centos7
index 950c40a..cb6ae7c 100644
--- a/docker/dist/Dockerfile.dist.centos7
+++ b/docker/dist/Dockerfile.dist.centos7
@@ -36,7 +36,8 @@ WORKDIR /heron
# run heron installer
RUN /heron/heron-install.sh \
- && rm -f /heron/heron-install.sh
+ && rm -f /heron/heron-install.sh \
+ && rm -f /usr/local/heron/dist/heron-core.tar.gz
RUN ln -s /usr/local/heron/dist/heron-core /heron \
&& mkdir -p /heron/heron-tools \
diff --git a/docker/dist/Dockerfile.dist.debian9 b/docker/dist/Dockerfile.dist.debian9
index 91441b9..a10aeb8 100644
--- a/docker/dist/Dockerfile.dist.debian9
+++ b/docker/dist/Dockerfile.dist.debian9
@@ -34,6 +34,7 @@ WORKDIR /heron
# run heron installer
RUN /heron/heron-install.sh && \
rm -rf /heron/heron-install.sh && \
+ rm -rf /usr/local/heron/dist/heron-core.tar.gz && \
rm -rf /opt/heron/heron-core/lib/scheduler/heron-local-scheduler.jar && \
rm -rf /opt/heron/heron-core/lib/scheduler/heron-mesos-scheduler.jar && \
rm -rf /opt/heron/heron-core/lib/scheduler/heron-slurm-scheduler.jar
diff --git a/docker/dist/Dockerfile.dist.ubuntu14.04 b/docker/dist/Dockerfile.dist.ubuntu14.04
index bb9f99b..1a04e1b 100644
--- a/docker/dist/Dockerfile.dist.ubuntu14.04
+++ b/docker/dist/Dockerfile.dist.ubuntu14.04
@@ -35,7 +35,8 @@ ADD artifacts /heron
WORKDIR /heron
# run heron installer
-RUN /heron/heron-install.sh
+RUN /heron/heron-install.sh \
+ && rm -f /usr/local/heron/dist/heron-core.tar.gz
RUN ln -s /usr/local/heron/dist/heron-core /heron \
&& mkdir -p /heron/heron-tools \
diff --git a/docker/dist/Dockerfile.dist.ubuntu16.04 b/docker/dist/Dockerfile.dist.ubuntu16.04
index cf4be9c..f3ae245 100644
--- a/docker/dist/Dockerfile.dist.ubuntu16.04
+++ b/docker/dist/Dockerfile.dist.ubuntu16.04
@@ -36,7 +36,8 @@ WORKDIR /heron
# run heron installer
RUN /heron/heron-install.sh \
- && rm -f /heron/heron-install.sh
+ && rm -f /heron/heron-install.sh \
+ && rm -f /usr/local/heron/dist/heron-core.tar.gz
RUN ln -s /usr/local/heron/dist/heron-core /heron \
&& mkdir -p /heron/heron-tools \
diff --git a/docker/dist/Dockerfile.dist.ubuntu18.04 b/docker/dist/Dockerfile.dist.ubuntu18.04
index 66960e5..1fa645c 100644
--- a/docker/dist/Dockerfile.dist.ubuntu18.04
+++ b/docker/dist/Dockerfile.dist.ubuntu18.04
@@ -13,7 +13,8 @@ WORKDIR /heron
# run heron installers
RUN /heron/heron-install.sh \
- && rm -f /heron/heron-install.sh
+ && rm -f /heron/heron-install.sh \
+ && rm -f /usr/local/heron/dist/heron-core.tar.gz
RUN ln -s /usr/local/heron/dist/heron-core /heron \
&& mkdir -p /heron/heron-tools \