mirror of
https://github.com/darksaid98/pterodactyl-graalvm.git
synced 2026-12-03 16:28:45 +00:00
Fix build 🐸
This commit is contained in:
1 parent
491c85ad66
commit
ca7cf5c540
2 files changed
+13
-1
No files matched your search
+1
-1
@@ -19,6 +19,6 @@ ENV USER=container HOME=/home/container
|
|||||||
|
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
|
||||||
COPY ././entrypoint.sh /entrypoint.sh
|
COPY ./entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
CMD ["/bin/bash", "/entrypoint.sh"]
|
CMD ["/bin/bash", "/entrypoint.sh"]
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
cd /home/container
|
||||||
|
|
||||||
|
# Output Current Java Version
|
||||||
|
java -version ## only really needed to show what version is being used. Should be changed for different applications
|
||||||
|
|
||||||
|
# Replace Startup Variables
|
||||||
|
MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')`
|
||||||
|
echo ":/home/container$ ${MODIFIED_STARTUP}"
|
||||||
|
|
||||||
|
# Run the Server
|
||||||
|
${MODIFIED_STARTUP}
|
||||||
Reference in new issue
Block a user