1 Unstar Star 3 Fork 0

Rukiy / alpine-openjdk11Docker

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
alpine-openjdk11 springboot通用启动器 spread retract

Clone or download
Dockerfile 759 Bytes
Copy Edit Web IDE Raw Blame History
Rukiy authored 2020-08-04 10:49 . 升级到 jre-11.0.8_10
FROM adoptopenjdk/openjdk11:x86_64-alpine-jre-11.0.8_10
LABEL maintainer="leaftea@qq.com"
ENV TZ=Asia/Shanghai
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
RUN apk -U upgrade --update \
&& apk --no-cache add tzdata zeromq \
&& ln -snf /usr/share/zoneinfo/$TZ /etc/localtime \
&& echo '$TZ' > /etc/timezone
RUN apk update && apk add fontconfig ttf-dejavu
RUN adduser -S -u 1000 springboot && \
mkdir -p /app && \
mkdir -p /logs && \
chown -R springboot /app && \
chown -R springboot /logs
ADD entrypoint.sh /usr/local/bin/
RUN ["chmod", "+x", "/usr/local/bin/entrypoint.sh"]
USER springboot
WORKDIR /app
VOLUME ["/app","/logs"]
EXPOSE 8080
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
Docker
1
https://gitee.com/rukiy/alpine-openjdk11.git
git@gitee.com:rukiy/alpine-openjdk11.git
rukiy
alpine-openjdk11
alpine-openjdk11
master

Search