forked from linking12/saluki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
16 lines (16 loc) · 792 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM quancheng/runtime-image:1.1
ENV TZ="Asia/Shanghai"
ENV LANG C.UTF-8
RUN apk add --update curl && \
rm -rf /var/cache/apk/*
ADD saluki-gateway/target/saluki-gateway-1.5.3-SNAPSHOT.jar /root/app.jar
ADD bin/ /root/
RUN chmod +x /root/*.sh;mkdir /root/logs
RUN mkdir /root/pinpoint-agent-1.6.1-SNAPSHOT \
&& curl -o /root/pinpoint-agent-1.6.1-SNAPSHOT/pinpoint-agent-1.6.1-SNAPSHOT.zip --user 'liushiming:Hello899' http://repo.quancheng-ec.com/repository/documentation/pinpoint-agent-1.6.1-SNAPSHOT.zip \
&& unzip -o -d /root/pinpoint-agent-1.6.1-SNAPSHOT /root/pinpoint-agent-1.6.1-SNAPSHOT/pinpoint-agent-1.6.1-SNAPSHOT.zip \
&& rm -r /root/pinpoint-agent-1.6.1-SNAPSHOT/pinpoint-agent-1.6.1-SNAPSHOT.zip
ENV JAVA_OPTS ""
ENV APP_NAME gateway
WORKDIR /root
CMD ["./start.sh"]