mirror of
https://github.com/darksaid98/yolks.git
synced 2026-12-03 14:38:59 +00:00
feat: add dart-lang image
This commit is contained in:
1 parent
f439d16e4f
commit
b50c2d57de
4 files changed
+75
No files matched your search
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
cd /home/container
|
||||
|
||||
# Make internal Docker IP address available to processes
|
||||
INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}')
|
||||
export INTERNAL_IP
|
||||
|
||||
# Print Dart version
|
||||
dart --version
|
||||
|
||||
# Replace startup variables
|
||||
MODIFIED_STARTUP=$(echo -e ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')
|
||||
echo ":/home/container$ ${MODIFIED_STARTUP}"
|
||||
|
||||
# Run the server
|
||||
eval ${MODIFIED_STARTUP}
|
||||
Reference in new issue
Block a user