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
dc2a46e4
Commit
dc2a46e4
authored
Nov 07, 2017
by
Cameron Carney
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changed storage creation
parent
7d624daa
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
Dockerfile
Dockerfile
+2
-1
manifest/entrypoint.sh
manifest/entrypoint.sh
+4
-1
No files found.
Dockerfile
View file @
dc2a46e4
...
@@ -19,9 +19,10 @@ RUN \
...
@@ -19,9 +19,10 @@ RUN \
&&
tar
--strip-components
=
1
-xzvf
${
PANEL_VERSION
}
.tar.gz
\
&&
tar
--strip-components
=
1
-xzvf
${
PANEL_VERSION
}
.tar.gz
\
&&
rm
"
${
PANEL_VERSION
}
.tar.gz"
\
&&
rm
"
${
PANEL_VERSION
}
.tar.gz"
\
&&
chmod
-R
755 storage/
*
bootstrap/cache
\
&&
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
\
&&
curl
-sS
https://getcomposer.org/installer | php
--
--install-dir
=
/usr/local/bin
--filename
=
composer
\
&&
composer
install
--ansi
--no-dev
\
&&
composer
install
--ansi
--no-dev
\
&&
mv
./storage storage.tmpl
\
&&
rm
./storage
-rf
\
&&
chown
nginx:nginx
*
-R
&&
chown
nginx:nginx
*
-R
COPY
./manifest /
COPY
./manifest /
...
...
manifest/entrypoint.sh
View file @
dc2a46e4
...
@@ -8,7 +8,10 @@
...
@@ -8,7 +8,10 @@
function
init
{
function
init
{
# Create the storage/cache directories
# Create the storage/cache directories
if
[
!
-d
/data/storage
]
;
then
if
[
!
-d
/data/storage
]
;
then
cp
-pr
storage.tmpl /data/storage
mkdir
-p
/data/storage
cat
.storage.tmpl |
while
read
line
;
do
mkdir
-p
"/data/
${
line
}
"
done
chown
-R
nginx:nginx /data/storage
chown
-R
nginx:nginx /data/storage
fi
fi
...
...
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