mirror of
https://github.com/darksaid98/yolks.git
synced 2026-12-02 22:23:39 +00:00
Add rust language
This commit is contained in:
1 parent
b99d99e233
commit
fb6c0dcf56
6 files changed
+114
No files matched your search
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
cd /home/container
|
||||
|
||||
# Make internal Docker IP address available to processes.
|
||||
export INTERNAL_IP=`ip route get 1 | awk '{print $NF;exit}'`
|
||||
|
||||
# Print current Rust version
|
||||
cargo --version
|
||||
|
||||
# Replace Startup Variables
|
||||
MODIFIED_STARTUP=$(echo -e $(echo -e ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g'))
|
||||
echo -e ":/home/container$ ${MODIFIED_STARTUP}"
|
||||
|
||||
# Run the Server
|
||||
eval ${MODIFIED_STARTUP}
|
||||
Reference in new issue
Block a user