docker-images/Dockerfile
Michael (Parker) Parker 93c91f060c fix java timezone stupidity
Java uses /etc/timezone but we are looping in /etc/localtime.
This just creates a symlink that fixes it.
2019-03-03 19:50:57 -05:00

22 lines
577 B
Docker

# ----------------------------------
# Pterodactyl Core Dockerfile
# Environment: Java
# Minimum Panel Version: 0.6.0
# ----------------------------------
FROM openjdk:8-jdk-alpine
MAINTAINER Pterodactyl Software, <support@pterodactyl.io>
RUN apk add --no-cache --update curl ca-certificates openssl git tar bash sqlite fontconfig \
&& adduser -D -h /home/container container \
&& ln -s /etc/localtime /etc/timezone
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
COPY ./entrypoint.sh /entrypoint.sh
CMD ["/bin/bash", "/entrypoint.sh"]