Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
srvpro-pterodactyl
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
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
MyCard
srvpro-pterodactyl
Commits
048cd2ae
Commit
048cd2ae
authored
Sep 10, 2019
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add motd
parent
d5dfffdf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
26 deletions
+5
-26
Dockerfile
Dockerfile
+3
-3
entrypoint.sh
entrypoint.sh
+2
-23
No files found.
Dockerfile
View file @
048cd2ae
...
...
@@ -4,9 +4,9 @@ FROM node:12-stretch-slim
# apt
#COPY sources.list /etc/apt/sources.list
RUN
apt update
&&
\
env
DEBIAN_FRONTEND
=
noninteractive apt
install
-y
git wget build-essential libevent-dev libsqlite3-dev mono-complete p7zip-full
RUN
useradd
-ms
/bin/bash container
env
DEBIAN_FRONTEND
=
noninteractive apt
install
-y
git wget build-essential libevent-dev libsqlite3-dev mono-complete p7zip-full
&&
\
rm
-rf
/var/lib/apt/lists/
*
&&
\
useradd -ms /bin/bash container
USER
container
ENV
USER container
...
...
entrypoint.sh
View file @
048cd2ae
#!/bin/bash
cd
/home/container
# Output Current Java Version
node
-v
## only really needed to show what version is being used. Should be changed for different applications
#cd /home/container/windbot
#git fetch origin master
#git reset --hard FETCH_HEAD
#xbuild /property:Configuration=Release /property:TargetFrameworkVersion=v4.5
#cd /home/container/ygopro
#git fetch origin server
#git reset --hard FETCH_HEAD
#git submodule foreach git fetch origin master
#git submodule foreach git reset --hard FETCH_HEAD
#./premake5 gmake
#cd build
#make config=release
#cd ..
#strip ygopro
#cd /home/container/ygopro-server
#git fetch origin master
##git reset --hard FETCH_HEAD
#npm install
# motd
curl https://minio.mycard.moe:7900/mycard/srvpro/motd.txt
# Replace Startup Variables
MODIFIED_STARTUP
=
`
eval echo
$(
echo
${
STARTUP
}
|
sed
-e
's/{{/${/g'
-e
's/}}/}/g'
)
`
...
...
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