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:
commit
cd55bdbb14
15
Dockerfile
15
Dockerfile
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user