Eliminate start.sh
All checks were successful
Build & Push Docker Image / build-and-publish (push) Successful in 21s
All checks were successful
Build & Push Docker Image / build-and-publish (push) Successful in 21s
This commit is contained in:
35
start.sh
35
start.sh
@@ -1,35 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# This script launches RuneLite from a docker container with noVNC support.
|
||||
# Before running this script, you should set the RUNELITE_CACHE environment
|
||||
# variable to point to an existing directory on your system where you would
|
||||
# like RuneLite cache files to be stored.
|
||||
|
||||
RUNELITE_IMAGE="runelite-novnc"
|
||||
NOVNC_HTTP_PORT="6080"
|
||||
NOVNC_HTTPS_PORT="6443"
|
||||
|
||||
# Location where RuneLite cache files will be placed on the host filesystem.
|
||||
RUNELITE_CACHE="${RUNELITE_CACHE:-$HOME/.runelite}"
|
||||
|
||||
if [ -z "$RUNELITE_CACHE" ]
|
||||
then
|
||||
echo "error: RUNELITE_CACHE has not been set"
|
||||
exit 1
|
||||
else
|
||||
echo "RuneLite cache files will be saved to '$RUNELITE_CACHE'"
|
||||
fi
|
||||
|
||||
# Create cache directory if it doesn't exist
|
||||
mkdir -p "${RUNELITE_CACHE}"
|
||||
|
||||
echo "Starting RuneLite with noVNC support..."
|
||||
echo "Once the container is running, open your web browser and navigate to:"
|
||||
echo "HTTP: http://localhost:${NOVNC_HTTP_PORT}"
|
||||
echo "HTTPS: https://localhost:${NOVNC_HTTPS_PORT} (accept self-signed certificate)"
|
||||
|
||||
docker run --rm \
|
||||
-p ${NOVNC_HTTP_PORT}:6080 \
|
||||
-p ${NOVNC_HTTPS_PORT}:6443 \
|
||||
-v ${RUNELITE_CACHE}:/home/runescape/ \
|
||||
${RUNELITE_IMAGE}
|
||||
Reference in New Issue
Block a user