Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
D
docker-pterodactyl-legacy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
docker-pterodactyl-legacy
Commits
512efb8a
Commit
512efb8a
authored
Apr 14, 2018
by
Cameron Carney
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated Dockerfile; entrypoint.sh.
parent
d5677973
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
15 deletions
+7
-15
Dockerfile
Dockerfile
+7
-7
manifest/entrypoint.sh
manifest/entrypoint.sh
+0
-8
No files found.
Dockerfile
View file @
512efb8a
FROM
alpine:
3.6
FROM
alpine:
edge
MAINTAINER
Cameron Carney <ccarney16@live.com>
...
...
@@ -8,21 +8,21 @@ ENV STARTUP_TIMEOUT=5 \
WORKDIR
/var/www/html
RUN
\
apk update
\
&&
apk add curl gettext nginx php7 php7 php7-bcmath php7-common php7-dom php7-fpm php7-gd
\
apk
--update
add curl gettext nginx php7 php7 php7-bcmath php7-common php7-dom php7-fpm php7-gd
\
php7-memcached php7-mbstring php7-openssl php7-pdo php7-phar php7-json php7-pdo_mysql
\
php7-session php7-simplexml php7-tokenizer php7-ctype php7-zlib php7-zip supervisor \
&& mkdir -p /var/www/html /run/nginx
RUN
\
curl
-Lo
"
${
PANEL_VERSION
}
.tar.gz"
https://github.com/Pterodactyl/Panel/archive/
${
PANEL_VERSION
}
.tar.gz
\
&&
tar
--strip-components
=
1
-xzvf
${
PANEL_VERSION
}
.tar.gz
\
&&
rm
"
${
PANEL_VERSION
}
.tar.gz"
\
curl
-Lo
panel.tar.gz
https://github.com/Pterodactyl/Panel/archive/
${
PANEL_VERSION
}
.tar.gz
\
&&
tar
--strip-components
=
1
-xzvf
panel
.tar.gz
\
&&
rm
panel.tar.gz
\
&&
chmod
-R
755 storage/
*
bootstrap/cache
\
&&
find storage
-type
d
>
.storage.tmpl
\
&&
curl
-sS
https://getcomposer.org/installer | php
--
--install-dir
=
/usr/local/bin
--filename
=
composer
\
&&
cp
.env.example .env
\
&&
composer
install
--ansi
--no-dev
\
&&
rm
./storage
-rf
\
&&
rm
.
env .
/storage
-rf
\
&&
chown
nginx:nginx
*
-R
COPY
./manifest /
...
...
manifest/entrypoint.sh
View file @
512efb8a
...
...
@@ -44,10 +44,6 @@ function startServer {
sleep
5
# Clean out everything
php artisan config:cache
-q
php artisan optimize
-q
echo
""
echo
"Generating key..."
sleep
1
...
...
@@ -60,10 +56,6 @@ function startServer {
php artisan db:seed
--force
fi
# Clear config cache and optimize on every startup
php artisan config:cache
-q
php artisan optimize
-q
# Allows Users to give MySQL/cache sometime to start up.
if
[[
"
${
STARTUP_TIMEOUT
}
"
-gt
"0"
]]
;
then
echo
"Starting Pterodactyl
${
PANEL_VERSION
}
in
${
STARTUP_TIMEOUT
}
seconds..."
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment