Merge pull request #41 from parkervcp/debian/openjdk-8-jre into pterodactyl/images/java-glibc

Debian/openjdk 8 jre

replaced glibc image as it's debian based.
This commit is contained in:
Michael (Parker) Parker 2019-04-17 10:20:33 -04:00 committed by GitHub
commit cd55bdbb14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,15 +1,18 @@
# ---------------------------------- # ----------------------------------
# Pterodactyl Core Dockerfile # Pterodactyl Core Dockerfile
# Environment: Java # Environment: Java (glibc support)
# Minimum Panel Version: 0.6.0 # Minimum Panel Version: 0.6.0
# ---------------------------------- # ----------------------------------
FROM openjdk:8-jdk-alpine FROM openjdk:8-jre-slim
MAINTAINER Pterodactyl Software, <support@pterodactyl.io> LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
RUN apk add --no-cache --update curl ca-certificates openssl git tar bash sqlite fontconfig \ RUN apt-get update -y \
&& adduser -D -h /home/container container \ && apt-get install -y curl ca-certificates openssl git tar sqlite fontconfig tzdata iproute2 \
&& ln -s /etc/localtime /etc/timezone && useradd -d /home/container -m container
USER container
ENV USER=container HOME=/home/container
USER container USER container
ENV USER=container HOME=/home/container ENV USER=container HOME=/home/container