-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(apache-shardingsphere-elasticjob-3.0.0-RC1-lite-ui):添加apache-sha…
…rdingsphere-elasticjob-3.0.0-RC1-lite-ui
- Loading branch information
Showing
123 changed files
with
1,927 additions
and
0 deletions.
There are no files selected for viewing
47 changes: 47 additions & 0 deletions
47
apache-shardingsphere-elasticjob-3.0.0-RC1-lite-ui/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
FROM centos:7.5.1804 | ||
MAINTAINER pader "[email protected]" | ||
|
||
# set environment | ||
ENV BASE_DIR="/home/elastic-job" \ | ||
CLASSPATH=".:/home/elastic-job/conf:$CLASSPATH" \ | ||
FUNCTION_MODE="all" \ | ||
JAVA_HOME="/usr/lib/jvm/java-1.8.0-openjdk" \ | ||
JAVA="/usr/lib/jvm/java-1.8.0-openjdk/bin/java" \ | ||
TIME_ZONE="Asia/Shanghai" | ||
|
||
ARG ELASTIC_VERSION=3.0.0.RC1 | ||
|
||
WORKDIR /$BASE_DIR | ||
|
||
RUN set -x \ | ||
&& yum update -y \ | ||
&& yum install -y java-1.8.0-openjdk java-1.8.0-openjdk-devel wget iputils nc vim libcurl\ | ||
|
||
# 下载启动包 | ||
&& wget https://github.com/purgeteam/elastic-job-start/releases/download/${ELASTIC_VERSION}/elastic-job-lite-console-${ELASTIC_VERSION}.tar.gz -P /home \ | ||
|
||
# 解压启动包 | ||
&& tar -xzvf /home/elastic-job-lite-console-${ELASTIC_VERSION}.tar.gz -C /home \ | ||
|
||
# && rm -rf /home/nacos-server-${ELASTIC_VERSION}.tar.gz /home/nacos/bin/* /home/nacos/conf/*.properties /home/nacos/conf/*.example /home/nacos/conf/nacos-mysql.sql \ | ||
|
||
&& yum autoremove -y wget \ | ||
&& ln -snf /usr/share/zoneinfo/$TIME_ZONE /etc/localtime && echo '$TIME_ZONE' > /etc/timezone \ | ||
&& yum clean all | ||
|
||
|
||
ADD bin/start.sh bin/start.sh | ||
ADD conf/auth.properties conf/auth.properties | ||
ADD lib/ lib/ | ||
|
||
|
||
# set startup log dir | ||
RUN mkdir -p logs \ | ||
&& cd logs | ||
# && touch start.out \ | ||
# && ln -sf /dev/stdout start.out \ | ||
# && ln -sf /dev/stderr start.out | ||
RUN chmod +x bin/start.sh | ||
|
||
EXPOSE 8899 | ||
ENTRYPOINT ["bin/start.sh"] |
326 changes: 326 additions & 0 deletions
326
apache-shardingsphere-elasticjob-3.0.0-RC1-lite-ui/LICENSE
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.