You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2020/06/29 04:30:24 UTC
[shardingsphere-elasticjob-lite] branch master updated: Add
Dockerfile for console (#863)
This is an automated email from the ASF dual-hosted git repository.
zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere-elasticjob-lite.git
The following commit(s) were added to refs/heads/master by this push:
new 6a436ec Add Dockerfile for console (#863)
6a436ec is described below
commit 6a436ecc411e4400a23a7a1b53aa7095a6b5c9f2
Author: 吴伟杰 <ro...@me.com>
AuthorDate: Mon Jun 29 12:30:15 2020 +0800
Add Dockerfile for console (#863)
* Add Dockerfile for console. (#862)
* fixed missing License header for new files. (#862)
---
elastic-job-lite-console/.dockerignore | 18 ++++++++++++++++++
elastic-job-lite-console/Dockerfile | 22 ++++++++++++++++++++++
2 files changed, 40 insertions(+)
diff --git a/elastic-job-lite-console/.dockerignore b/elastic-job-lite-console/.dockerignore
new file mode 100644
index 0000000..9e7e50a
--- /dev/null
+++ b/elastic-job-lite-console/.dockerignore
@@ -0,0 +1,18 @@
+#
+# 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.
+#
+*
+!target/elastic-job-lite-console-*-console-bin.tar.gz
\ No newline at end of file
diff --git a/elastic-job-lite-console/Dockerfile b/elastic-job-lite-console/Dockerfile
new file mode 100644
index 0000000..14258ca
--- /dev/null
+++ b/elastic-job-lite-console/Dockerfile
@@ -0,0 +1,22 @@
+#
+# 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 adoptopenjdk:8-jre-hotspot
+CMD bin/start.sh -p $CONSOLE_PORT
+ENV CONSOLE_PORT=8899
+ADD target/elastic-job-lite-console-*.tar.gz /
+RUN mv $(ls -d /elastic-job-lite-console-*) /elastic-job-lite-console
+WORKDIR /elastic-job-lite-console