Merge pull request #42 from parkervcp/debian/openjdk-8-jre into pterodactyl/images/java
Debian/openjdk 8 jre Replace the alpine based image for more compatibility.
This commit is contained in:
commit
2a3df0db8f
11
Dockerfile
11
Dockerfile
|
|
@ -3,13 +3,14 @@
|
|||
# Environment: Java (glibc support)
|
||||
# Minimum Panel Version: 0.6.0
|
||||
# ----------------------------------
|
||||
FROM frolvlad/alpine-java:jre8-cleaned
|
||||
|
||||
MAINTAINER Pterodactyl Software, <support@pterodactyl.io>
|
||||
FROM openjdk:8-jre-slim
|
||||
|
||||
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
|
||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||
|
||||
RUN apt-get update -y \
|
||||
&& apt-get install -y curl ca-certificates openssl git tar sqlite fontconfig tzdata iproute2 \
|
||||
&& useradd -d /home/container -m container
|
||||
|
||||
USER container
|
||||
ENV USER=container HOME=/home/container
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user