Compare commits

..

30 Commits

Author SHA1 Message Date
Michael (Parker) Parker
2a3df0db8f
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.
2019-04-17 10:19:17 -04:00
Michael (Parker) Parker
313693a84a
Merge branch 'java-glibc' into debian/openjdk-8-jre 2019-04-17 10:16:36 -04:00
Michael (Parker) Parker
562c37b83f forgot to add the route2 package 2019-03-31 22:04:00 -04:00
Michael (Parker) Parker
123a3d5681 add -y to apt-get command 2019-03-27 17:32:47 -04:00
Michael (Parker) Parker
3b1b2ba4d5 adding debian based openjdk 8 jre image 2019-03-27 17:12:38 -04:00
Dane Everitt
673714f637
Merge pull request #40 from parkervcp/breakfix/java-glibc
update to use the new frolvlad images
2019-03-05 12:06:49 -08:00
Michael (Parker) Parker
ebd31f6afd update to use the new frolvlad images
Use frolvlads new images.
Also fixes stupid java timezone issues.
2019-03-03 19:54:03 -05:00
Michael (Parker) Parker
3c5fcecb4a fix timezones for java on alpine 2019-03-03 19:44:59 -05:00
Michael (Parker) Parker
0f094dd8eb add tzdata to openjdk image 2019-03-03 19:22:01 -05:00
Michael (Parker) Parker
91ceefa5c3 adding fontconfig 2018-10-05 23:15:59 -04:00
Michael (Parker) Parker
d436f347bd
Merge pull request #13 from Exonical/java
Fix Maintainer Deprecation
2018-07-13 18:51:41 -04:00
Unknown
bbd6cade27 Fix Maintainer Deprecation 2018-07-13 16:15:45 -04:00
Michael (Parker) Parker
008a9d4f90 package update 2018-04-28 09:23:49 -04:00
Dane Everitt
2d70bea48e
Merge pull request #21 from parkervcp/java-glibc
updating image
2018-03-25 11:36:28 -05:00
Michael (Parker) Parker
87ee3696ee updating image 2018-02-26 23:45:34 -05:00
Michael (Parker) Parker
c6f4892b95 updating image 2018-02-26 23:43:48 -05:00
Dane Everitt
ae7aa977be
dont sleep 2018-01-06 14:56:10 -06:00
Dane Everitt
c705b6fc61
cleaner output 2018-01-06 14:55:21 -06:00
Dane Everitt
9bb8ea32b8
Cleaner output when running container 2018-01-06 14:54:47 -06:00
Dane Everitt
8f159d0239
Add support for accessing internal IP
Pterodactyl/Panel#613
2017-10-09 23:09:54 -05:00
Dane Everitt
ce771b8866
Add support for accessing internal IP
Pterodactyl/Panel#613
2017-10-09 23:09:17 -05:00
Dane Everitt
efe3809d58 Merge pull request #2 from parkervcp/java
Update Dockerfile
2017-05-03 16:35:46 -04:00
Michael (Parker) Parker
d0bd99b49e Update Dockerfile 2017-05-03 16:30:38 -04:00
Dane Everitt
5367bbab88 Merge pull request #1 from parkervcp/java-glibc
Update Dockerfile
2017-04-27 16:29:07 -04:00
Michael (Parker) Parker
ec7e4425a3 Update Dockerfile 2017-04-25 10:16:11 -04:00
Dane Everitt
bdb909bacf switch to JDK in non-glibc container 2017-04-09 11:12:34 -04:00
Dane Everitt
9d256f43b3
Add glibc support 2017-03-18 20:15:05 -04:00
Dane Everitt
89dace70d6 use java:openjdk-8-jre-alpine 2017-03-18 19:47:52 -04:00
Dane Everitt
22638cfec1
Revert name of variable 2017-03-17 19:35:36 -04:00
Dane Everitt
415f722708
Push core java image. 2017-03-17 19:29:12 -04:00
5 changed files with 40 additions and 56 deletions

View File

@ -1,17 +0,0 @@
---
name: "\U0001F41B Bug Report"
about: Report an issue for an image
---
Please fill out the information bellow and remove from the line up
If you just submit a bug with no info I will close out your bug.
---------------
Panel Version: (version number)
Daemon Version: (version number)
Service: (minecraft/factorio/etc)
Docker Image:
Modified: (yes/no) (did you add or change things, this includes startup configs/install scripts/variables)
Errors that you are experiencing:

22
Dockerfile Normal file
View File

@ -0,0 +1,22 @@
# ----------------------------------
# Pterodactyl Core Dockerfile
# Environment: Java (glibc support)
# Minimum Panel Version: 0.6.0
# ----------------------------------
FROM openjdk:8-jre-slim
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
WORKDIR /home/container
COPY ./entrypoint.sh /entrypoint.sh
CMD ["/bin/bash", "/entrypoint.sh"]

View File

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2017-2018 Pterodactyl Software
Copyright (c) 2017 Pterodactyl
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@ -1,38 +1,2 @@
[![Logo Image](https://cdn.pterodactyl.io/logos/Banner%20Logo%20Black@2x.png)](https://pterodactyl.io)
This repository contains generic [Docker](https://docker.com) images that are used by Pterodactyl Panel to run games. With the release of `v0.6.0` of our panel, we have moved to making the install process be a completely seperate part of the process, making it much easier to maintain a smaller set of Dockerfiles.
Our goal here is to maintain images that can run a wide variety of games in individual branches. For example, the [`java` branch](https://github.com/Pterodactyl/Containers/tree/java) is a standardized Docker container running on Alpine Linux that should support most all Minecraft based games, as well as java based games. We install all of the required dependencies that we ae aware of, but if you notice one missing, we welcome you to either raise an issue in here, or submit a PR to add it.
The `entrypoint.sh` files **should not do any application installing**, and exist solely to parse startup commands passed to the container, and then run them, with a pause at the beginning to allow the Daemon time to boot and attach to the container.
## Current Images
Every branch, except master, is a different image. For a current list of images, check the branch list [here](https://github.com/Pterodactyl/Containers/branches/active).
## Contributing
We welcome any contributions you might have. Please follow our formatting for Dockerfiles, which involves minimizing the number of layers, as well as the size of the container. If possible, please stick to Alpine Linux based images, however we do make use of `ubuntu:16.04` in the [`source` branch](https://github.com/Pterodactyl/Containers/tree/source) due to Source Engine limitations, and reducing the conflicts that might arise.
## License
```
MIT License
Copyright (c) 2017-2018 Pterodactyl Software
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```
# Containers: Java
Generic java container built on top of Alpine Linux to support games such as Minecraft and Bungeecord.

15
entrypoint.sh Normal file
View File

@ -0,0 +1,15 @@
#!/bin/bash
cd /home/container
# Output Current Java Version
java -version
# Make internal Docker IP address available to processes.
export INTERNAL_IP=`ip route get 1 | awk '{print $NF;exit}'`
# Replace Startup Variables
MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')`
echo ":/home/container$ ${MODIFIED_STARTUP}"
# Run the Server
eval ${MODIFIED_STARTUP}