Skip to content

Commit

Permalink
feat(apache-shardingsphere-elasticjob-3.0.0-RC1-lite-ui):添加apache-sha…
Browse files Browse the repository at this point in the history
…rdingsphere-elasticjob-3.0.0-RC1-lite-ui
  • Loading branch information
purgeyao committed Mar 25, 2021
1 parent 7ec80f0 commit 95c6765
Show file tree
Hide file tree
Showing 123 changed files with 1,927 additions and 0 deletions.
47 changes: 47 additions & 0 deletions apache-shardingsphere-elasticjob-3.0.0-RC1-lite-ui/Dockerfile
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 apache-shardingsphere-elasticjob-3.0.0-RC1-lite-ui/LICENSE

Large diffs are not rendered by default.

Loading

0 comments on commit 95c6765

Please sign in to comment.