Compare commits

..

17 Commits

Author SHA1 Message Date
Dane Everitt
35297e734e
Merge pull request #30 from parkervcp/glibc
Update glibc container
2018-10-28 12:31:41 -07:00
Michael (Parker) Parker
a4710dedf1 adding binutils for addr2line
This is required for factorio crash reports apparently
2018-10-06 10:22:42 -04:00
Michael (Parker) Parker
2a3e22fb71
Merge pull request #14 from Exonical/glibc
Fix Maintainer Deprecation
2018-07-13 18:51:50 -04:00
Unknown
aa908c715a Fix Maintainer Deprecation 2018-07-13 16:16:15 -04:00
Michael (Parker) Parker
14a1a7377b adding correct package
uses busybox-extras to get telnet.
2018-07-06 17:25:30 -04:00
Michael (Parker) Parker
e306ff5ecb added telnet to glibc image
This is dumb... Trying out something new.
2018-07-06 17:24:15 -04:00
Michael (Parker) Parker
b284687cb1 adding jq
jq is for parsing json properly.
2018-05-26 09:59:55 -04:00
Dane Everitt
cb9a5cee1a
Merge pull request #22 from parkervcp/glibc
updating image
2018-04-28 08:06:25 -07:00
Michael (Parker) Parker
1853d71d10 package update 2018-04-28 09:22:06 -04:00
Michael (Parker) Parker
f3b57d87b3 updating image 2018-02-26 23:42:59 -05:00
Dane Everitt
9724ce5cd4
Merge pull request #16 from parkervcp/glibc
adding libstdc++
2018-02-08 22:02:24 -06:00
Michael (Parker) Parker
cbf7fd9cad adding libstdc++
Required for other services.
2018-02-08 22:08:39 -05:00
Dane Everitt
3cc498510c
Merge pull request #14 from parkervcp/glibc
adding libc++
2018-02-08 15:17:13 -06:00
Michael (Parker) Parker
54613c83fe adding libc++
Many things require this and it's not in the basse image.
2018-02-08 16:08:57 -05:00
Dane Everitt
f893864688
cleaner output 2018-01-06 14:55:52 -06:00
Dane Everitt
c603e17465
Add support for accessing internal IP
Pterodactyl/Panel#613
2017-10-09 23:10:54 -05:00
Dane Everitt
48627e0cc0
Add basic glibc alpine container 2017-03-18 14:42:18 -04:00
5 changed files with 34 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:

19
Dockerfile Normal file
View File

@ -0,0 +1,19 @@
# ----------------------------------
# Pterodactyl Core Dockerfile
# Environment: glibc
# Minimum Panel Version: 0.6.0
# ----------------------------------
FROM frolvlad/alpine-glibc
LABEL author="Pterodactyl Software" maintainer="support@pterodactyl.io"
RUN apk add --update --no-cache curl ca-certificates openssl libstdc++ busybox-extras binutils \
&& apk add libc++ jq --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing \
&& adduser -D -h /home/container container
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
COPY ./entrypoint.sh /entrypoint.sh
CMD ["/bin/ash", "/entrypoint.sh"]

View File

@ -1,6 +1,6 @@
MIT License 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 Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal 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) # Containers: `glibc`
Base Dockerfile fo glibc based programs to use for Pterodactyl Panel.
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.
```

12
entrypoint.sh Normal file
View File

@ -0,0 +1,12 @@
#!/bin/ash
cd /home/container
# 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}