This is an automated email from the ASF dual-hosted git repository.
hansva pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hop.git
The following commit(s) were added to refs/heads/master by this push:
new 47fc3ea HOP-2485 - Docker container references wrong deployment
folder (#592)
47fc3ea is described below
commit 47fc3ead9cba297a56334618f81a9db80915bf99
Author: Diethard Steiner <[email protected]>
AuthorDate: Tue Feb 2 07:21:22 2021 +0000
HOP-2485 - Docker container references wrong deployment folder (#592)
* added comment that this file is redundant now
* fixed broken path
* initial commit
* header add and bug fixes
---
docker/resources/dev-build-local-image.sh | 28 ++++++++++++++++++++++++++++
docker/resources/get-hop.sh | 3 +++
docker/resources/run.sh | 2 +-
3 files changed, 32 insertions(+), 1 deletion(-)
diff --git a/docker/resources/dev-build-local-image.sh
b/docker/resources/dev-build-local-image.sh
new file mode 100755
index 0000000..e804456
--- /dev/null
+++ b/docker/resources/dev-build-local-image.sh
@@ -0,0 +1,28 @@
+#!/bin/bash
+#
+# 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.
+#
+#
+
+# USE THIS FOR LOCAL DEV ONLY
+cd ../..
+# create new build
+mvn -DskipTests=true clean install
+# unzip new build
+unzip assemblies/client/target/hop-client-*.zip -d assemblies/client/target
+# build docker image
+LATEST_BUILD_VERSION=`date '+%Y%m%d%H%M%S'`
+docker build . -f docker/Dockerfile -t apache-hop:${LATEST_BUILD_VERSION}
\ No newline at end of file
diff --git a/docker/resources/get-hop.sh b/docker/resources/get-hop.sh
index 00d23e6..5b2117e 100755
--- a/docker/resources/get-hop.sh
+++ b/docker/resources/get-hop.sh
@@ -17,6 +17,9 @@
#
#
+### THIS SCRIPT IS NOT USED ANY MORE
+# just left here in case we ever need it again
+
# Script used to fetch the latest snapshot version of project hop
set -ex
diff --git a/docker/resources/run.sh b/docker/resources/run.sh
index 617589a..dbd6cbf 100755
--- a/docker/resources/run.sh
+++ b/docker/resources/run.sh
@@ -44,4 +44,4 @@ trapper() {
done
}
-trapper /opt/project-hop/load-and-execute.sh $@
+trapper /opt/hop/load-and-execute.sh $@