Giter Club home page Giter Club logo

images's Introduction

Logo Image

This repository contains generic Docker 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 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.

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 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.

images's People

Contributors

daneeveritt avatar donotspampls avatar exonical avatar parkervcp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

images's Issues

Java 11/16 OpenJ9

I'm not as familiar with images however I'd like to mention that while we have a JDK 11 now, I'd love to see the use of OpenJ9 based on the issue that was opened before regarding it for JDK 8. (Opened on the main panel issues, but still)

pterodactyl/panel#1646

Furthermore, I suppose I should mention that a JDK 16 is around with OpenJ9 as well which would be excellent to have for the base images to select from. Thanks for the great work, and my apologies I'm not familiar enough with images to make one up myself and submit it haha

Add java 11 support

For minecraft some plugins are only built on java 11, having a java 11 capable image would allow those plugins to be used.

Rename to "images"

This repository should really be renamed to "images" as that is what it is.

New docker image with Java 13 ShenandoahGC ready.

Hi guys, thanks for this open source project!
Very well documented, even without understanding linux I was able to install my panel easily.

I'm hosting Minecraft 1.15.2 and apparently the use of garbage collectors like ShenandoahGC has proven to be superior to G1GC in this version.

After several searches I found that unfortunately the java version made available by Oracle (openjdk 11, 12 and 13) does not come with the option enabled.

The reason is explained here..

Project page with all relevant information

Could you help me install a compatible docker image?

I really tried to create a dockerfile but due to lack of knowledge I couldn't.

I was trying to install this java 13 which is compatible according to the project instructions.

Thanks guys!

More abstract containers

Perhaps we could have base images, like base:alpine & base:ubuntu that have the users & directories and whatnot, and then layer gameserver specific changes on top of them, like game:source & game:rust?

exception is thrown at startup wscat

Hi! i need help about thrown exception when execute :

wscat -c "ws://localhost:8088/ari/events?api_key=asterisk:asterisk&app=hello-world"

Ari Rest asterisk thrown this

/usr/lib/node_modules/wscat/node_modules/ws/lib/websocket.js:347
...options
^^^

SyntaxError: Unexpected token ...
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:549:28)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at Object. (/usr/lib/node_modules/wscat/node_modules/ws/index.js:3:19)

please you can help me how to resolve this problem..!

Missing library files in Java-11

Panel Version: 1.4.2
Daemon Version: 1.4.4
Service: minecraft
Docker Image: quay.io/pterodactyl/core:java-11
Modified: no

Errors that you are experiencing:
The library libXrender.so.1 seems to be missing from the default installation of pterodactyl. This messes with some mods since the server will crash without it.

[20:49:19] [main/FATAL] [minecraft/Main]: Failed to start the minecraft server
net.minecraftforge.fml.LoadingFailedException: Loading errors encountered: [
        Brazier (brazier) encountered an error during the load_registries event phase
§7java.lang.UnsatisfiedLinkError: /usr/local/openjdk-11/lib/libawt_xawt.so: libXrender.so.1: cannot open shared object file: No such file or directory
]
        at net.minecraftforge.fml.ModLoader.waitForTransition(ModLoader.java:263) ~[forge:?] {re:classloading}
        at net.minecraftforge.fml.ModLoader.dispatchAndHandleError(ModLoader.java:230) ~[forge:?] {re:classloading}
        at net.minecraftforge.fml.ModLoader.gatherAndInitializeMods(ModLoader.java:196) ~[forge:?] {re:classloading}
        at net.minecraftforge.fml.server.ServerModLoader.load(ServerModLoader.java:44) ~[forge:?] {re:classloading}
        at net.minecraft.server.Main.main(Main.java:95) ~[?:?] {re:classloading}
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] {}
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}
        at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] {}
        at net.minecraftforge.fml.loading.FMLServerLaunchProvider.lambda$launchService$0(FMLServerLaunchProvider.java:51) ~[server.jar:36.1] {}
        at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.0.9.jar:?] {}
        at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.0.9.jar:?] {}
        at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.0.9.jar:?] {}
        at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.0.9.jar:?] {re:classloading}
        at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.0.9.jar:?] {re:classloading}
        at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:63) [server.jar:?] {}
        at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:60) [server.jar:?] {}
        at net.minecraftforge.server.ServerMain.main(ServerMain.java:57) [server.jar:?] {}

Error when starting service

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: 0.7.18
Daemon Version: 0.6.13
Service: minecraft
Docker Image: quay.io/parkervcp/pterodactyl-images:ubuntu_source
Modified: no

Errors that you are experiencing:
When I try to start the service, it returns an docker error.

Possible fix:
Modify the permissions of entrypoint.sh to make it executable and allow docker to execute it. ( #61 )

Umod/Oxide Download broken in rust:core

The Umod site seems to have updated and is now using Cloudflare and/or being attacked so the file isn't reachable.
My Pterodactyl instance is unable to donwload the zip file containing Umod/Oxide for Rust.

Updating uMod...
[umod.zip]
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of umod.zip or
        umod.zip.zip, and cannot find umod.zip.ZIP, period.

Could you please exchange the links in entrypoint.sh on quay.io/pterodactyl/core:rust?

https://umod.org/games/rust/download/develop
->
https://github.com/OxideMod/Oxide.Rust/releases/latest/download/Oxide.Rust-linux.zip

The link on the page is basically just a redirect to the latest Github Release. Might as well just use that to make it work again.

Possible entrypoint.sh issue with base_ubuntu

Hello,

Specifically, I was referring to: https://github.com/parkervcp/eggs/tree/master/game_eggs/minetest/minetest

Which references the docker container: quay.io/parkervcp/pterodactyl-images:base_ubuntu

Which I believe is referenced from: https://github.com/pterodactyl/images

So anywho, when using the base_ubuntu image, none of the variables come over. When modifying the startup command in pterodactyl, ex: {{SERVER_PORT}} it does not translate over. I believe it has to do with the entrypoint.sh (specifically using exec instead of just ${MODIFIED_STARTUP}).

Using the java one for Minecraft works just fine.

Rust Image has incorrect steam cmd path.

Panel Version: 1.0.2
Daemon Version: 1.0.1
Service: Rust
Docker Image: quay.io/pterodactyl/core:rust
Modified: no

Errors that you are experiencing:

Rust servers won't automatically update on restart anymore, because it's looking for the steamcmd.sh in the wrong folder. The steamcmd.sh file is located in steam/steamcmd.sh instead it's searching for it, in the steamcmd directory.

E: Unable to locate package sqlite

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: v1.5.1
Daemon Version: v1.4.7
Service: Minecraft
Docker Image: java-16
Modified: no

Errors that you are experiencing:
The Docker container build not work. Writes this error: E: Unable to locate package sqlite

Rust image /node_modules/ws/lib/websocket.js:347SyntaxError: Unexpected token

All my servers that start with the latest Rust image give a crash. This error was not in the panel yesterday. Is there a way to downgrade the image or somehow fix this?

/node_modules/ws/lib/websocket.js:347
...options
^^^
SyntaxError: Unexpected token ...
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:549:28)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/node_modules/ws/index.js:3:19)
[Pterodactyl Daemon] Server marked as OFF```

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.