yolks/java8/Dockerfile

21 lines
637 B
Text
Raw Normal View History

2020-07-19 19:26:09 +02:00
#
# 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 ibmjava:8-jre-alpine
2020-07-19 19:26:09 +02:00
LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io"
2020-07-19 19:26:09 +02:00
RUN apk add --update --no-cache curl ca-certificates openssl git tar bash sqlite fontconfig tzdata \
&& adduser -D -h /home/container container
2020-07-19 19:26:09 +02:00
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
2020-10-25 18:48:48 +01:00
2020-07-19 19:26:09 +02:00
COPY ./entrypoint.sh /entrypoint.sh
CMD [ "/bin/ash", "/entrypoint.sh" ]