docker-images/Dockerfile
Isaac A 03e7f558a4
Add fontconfig to dockerfile dependencies
Some plugins that deal with rendering fonts might throw a nasty error since it's a headless JDK, supposedly installing this package fixes the issue.
An example of the issue can be found here: https://hastebin.com/tegasuwedo.rb
2018-10-05 23:10:49 -04:00

21 lines
538 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
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
COPY ./entrypoint.sh /entrypoint.sh
CMD ["/bin/bash", "/entrypoint.sh"]