Add java15 image

This commit is contained in:
Matthew Penner
2020-12-05 21:04:21 -07:00
parent 1fc88bda5a
commit 93aa787a0e
3 changed files with 50 additions and 1 deletions

20
java15/Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
#
# Copyright (c) 2020 Matthew Penner
#
# This repository is licensed under the MIT License.
# https://github.com/matthewpi/images/blob/master/LICENSE.md
#
FROM adoptopenjdk/openjdk15-openj9:alpine
LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io"
RUN apk add --update --no-cache curl ca-certificates openssl git tar bash sqlite fontconfig tzdata \
&& adduser -D -h /home/container container
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
COPY ./entrypoint.sh /entrypoint.sh
CMD [ "/bin/ash", "/entrypoint.sh" ]