Skip to content

Commit

Permalink
Create Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Minionguyjpro authored Sep 17, 2024
1 parent c72109d commit 26ccde3
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions java-oracle-graalvm/23/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
FROM container-registry.oracle.com/graalvm/jdk:23

LABEL author="Softwarenoob" maintainer="[email protected]"
LABEL org.opencontainers.image.source="https://github.com/Software-Noob/pterodactyl-images"
LABEL org.opencontainers.image.licenses="MIT"

RUN microdnf update \
&& microdnf install -y curl ca-certificates openssl git tar sqlite fontconfig tzdata iproute gcc gcc-c++ freetype libstdc++ lsof glibc-locale-source glibc-langpack-en \
&& microdnf clean all \
&& adduser --home-dir /home/container container

ENV LC_ALL=en_US.UTF-8
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US.UTF-8

USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container

COPY ./entrypoint.sh /entrypoint.sh
CMD [ "/bin/bash", "/entrypoint.sh" ]

0 comments on commit 26ccde3

Please sign in to comment.