Commit 048cd2ae authored by nanahira's avatar nanahira

add motd

parent d5dfffdf
...@@ -4,9 +4,9 @@ FROM node:12-stretch-slim ...@@ -4,9 +4,9 @@ FROM node:12-stretch-slim
# apt # apt
#COPY sources.list /etc/apt/sources.list #COPY sources.list /etc/apt/sources.list
RUN apt update && \ RUN apt update && \
env DEBIAN_FRONTEND=noninteractive apt install -y git wget build-essential libevent-dev libsqlite3-dev mono-complete p7zip-full 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/* && \
RUN useradd -ms /bin/bash container useradd -ms /bin/bash container
USER container USER container
ENV USER container ENV USER container
......
#!/bin/bash #!/bin/bash
cd /home/container cd /home/container
# Output Current Java Version # motd
node -v ## only really needed to show what version is being used. Should be changed for different applications curl https://minio.mycard.moe:7900/mycard/srvpro/motd.txt
#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
# Replace Startup Variables # Replace Startup Variables
MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')` MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment