Compare commits

..

12 Commits
master ... mono

Author SHA1 Message Date
Dane Everitt
0cbd1e6fde
Merge pull request #31 from parkervcp/mono
Update Mono
2018-10-28 12:31:57 -07:00
Michael (Parker) Parker
74e8e6a4c8 opensim support
Adding libgdiplus for opensim support.
2018-08-22 18:14:45 -04:00
Michael (Parker) Parker
57725d3f12
Merge pull request #11 from Exonical/mono
Fix Maintainer Deprecation
2018-07-13 18:50:53 -04:00
Unknown
3466c41e91 Fix Maintainer Deprecation 2018-07-13 16:12:49 -04:00
Dane Everitt
5fe776c31c
Merge pull request #24 from parkervcp/mono
updating container
2018-04-28 08:05:39 -07:00
Michael (Parker) Parker
ec2777a0a6 package update 2018-04-28 09:25:48 -04:00
Michael (Parker) Parker
182bdd5d3b updating container 2018-02-26 23:46:02 -05:00
Dane Everitt
75189af37c
Merge pull request #15 from parkervcp/mono
adding sqlite
2018-02-08 16:53:24 -06:00
Michael (Parker) Parker
20df1fd3c0 adding sqlite
sqlite3 is required for tshock.
2018-02-08 17:08:06 -05:00
Dane Everitt
d9789403f8
Use new mono package 2018-01-06 15:03:39 -06:00
Dane Everitt
66d40fe455
add support for getting internal IP
Pterodactyl/Panel#613
2017-10-09 23:06:35 -05:00
Dane Everitt
255e33df22
Add base mono container for terraria 2017-03-18 14:36:30 -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: Mono
# Minimum Panel Version: 0.6.0
# ----------------------------------
FROM frolvlad/alpine-mono
LABEL author="Pterodactyl Software" maintainer="support@pterodactyl.io"
RUN echo "http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
&& apk add --update --no-cache openssl curl sqlite libgdiplus \
&& adduser -D -h /home/container container
USER container
ENV HOME=/home/container USER=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
Generic docker containers designed to run mono based games such as Terraria.
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}