1 Star 0 Fork 21

lixianlin01/om-webserver

forked from opensourceway/om-webserver 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 997 Bytes
一键复制 编辑 原始数据 按行查看 历史
kaede10 提交于 2023-03-29 11:53 . update repo path
FROM openjdk:8-jdk
ARG NEW_YEAR_USER
ARG NEW_YEAR_2022
ARG BRANCH
MAINTAINER zhongjun <[email protected]>
RUN mkdir -p /var/lib/om-webserver
WORKDIR /var/lib/om-webserver
# Install basic software support
RUN apt-get update && \
apt-get install --yes software-properties-common
RUN wget https://dlcdn.apache.org/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz && \
tar -xzvf apache-maven-3.6.3-bin.tar.gz
ENV MAVEN_HOEM=/var/lib/om-webserver/apache-maven-3.6.3
ENV PATH=$MAVEN_HOEM/bin:$PATH
RUN git clone -b ${BRANCH} https://gitee.com/opensourceway/om-webserver.git && \
cd om-webserver && \
mvn clean install package -Dmaven.test.skip && \
mv ./target/om-webserver-0.0.1-SNAPSHOT.jar ../om-webserver.jar
RUN git clone https://${NEW_YEAR_USER}@gitee.com/lixianlin01/new-year.git
RUN git clone https://${NEW_YEAR_2022}@gitee.com/kaede10/mydata.git
RUN git clone https://gitee.com/opensourceway/om-data.git
CMD java -jar om-webserver.jar
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lixianlin01/om-webserver.git
[email protected]:lixianlin01/om-webserver.git
lixianlin01
om-webserver
om-webserver
master

搜索帮助