yolks/java10/Dockerfile

24 lines
786 B
Text
Raw Normal View History

#
# Copyright (c) 2020 Matthew Penner
#
# This repository is licensed under the MIT License.
# https://github.com/matthewpi/images/blob/master/LICENSE.md
#
2020-12-15 17:19:26 +01:00
FROM --platform=$BUILDPLATFORM adoptopenjdk/openjdk10-openj9:alpine
LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io"
2020-12-15 18:25:15 +01:00
LABEL org.opencontainers.image.source="https://github.com/matthewpi/images"
LABEL org.opencontainers.image.licenses=MIT
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
2020-10-25 18:48:48 +01:00
COPY ./entrypoint.sh /entrypoint.sh
CMD [ "/bin/ash", "/entrypoint.sh" ]