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
92a6e5d8
Commit
92a6e5d8
authored
Sep 10, 2019
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
local motd
parent
3f9b2292
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
Dockerfile
Dockerfile
+2
-1
entrypoint.sh
entrypoint.sh
+1
-1
No files found.
Dockerfile
View file @
92a6e5d8
...
...
@@ -4,7 +4,7 @@ FROM node:12-stretch-slim
# apt
#COPY sources.list /etc/apt/sources.list
RUN
apt update
&&
\
env
DEBIAN_FRONTEND
=
noninteractive apt
install
-y
build-essential libevent-dev libsqlite3-dev mono-complete p7zip-full gettext-base
curl
&&
\
env
DEBIAN_FRONTEND
=
noninteractive apt
install
-y
build-essential libevent-dev libsqlite3-dev mono-complete p7zip-full gettext-base
&&
\
rm
-rf
/var/lib/apt/lists/
*
&&
\
useradd -ms /bin/bash container
...
...
@@ -14,6 +14,7 @@ ENV HOME /home/container
WORKDIR
/home/container
COPY
./motd.txt /home/motd.txt
COPY
./entrypoint.sh /entrypoint.sh
CMD
["/bin/bash", "/entrypoint.sh"]
entrypoint.sh
View file @
92a6e5d8
...
...
@@ -2,7 +2,7 @@
cd
/home/container
# motd
c
url https://minio.mycard.moe:9000/mycard/srvpro
/motd.txt | envsubst
c
at
/home
/motd.txt | envsubst
# 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