~mser/vmangos-docker

82e7f20944f3301b328de28791c4aaaa9e5b0ee4 — Michael Serajnik 5 months ago 36ecc64
Rebuild Docker images without using cache
4 files changed, 14 insertions(+), 4 deletions(-)

M 00-extract-client-data.sh
M 00-install.sh
M 00-update-including-world-database-import.sh
M 00-update.sh
M 00-extract-client-data.sh => 00-extract-client-data.sh +5 -1
@@ 51,6 51,7 @@ echo "[VMaNGOS]: Building VMaNGOS..."
docker build \
  --build-arg VMANGOS_USER_ID=$user_id \
  --build-arg VMANGOS_GROUP_ID=$group_id \
  --no-cache \
  -t vmangos_build \
  -f ./docker/build/Dockerfile .



@@ 74,7 75,10 @@ if [ ! -d "./src/client_data/Data" ]; then
  exit 1
fi

docker build -t vmangos_extractors -f ./docker/extractors/Dockerfile .
docker build \
  --no-cache \
  -t vmangos_extractors \
  -f ./docker/extractors/Dockerfile .

docker run \
  -v "$repository_path/src/client_data:/client_data" \

M 00-install.sh => 00-install.sh +5 -1
@@ 42,6 42,7 @@ echo "[VMaNGOS]: Building VMaNGOS..."
docker build \
  --build-arg VMANGOS_USER_ID=$user_id \
  --build-arg VMANGOS_GROUP_ID=$group_id \
  --no-cache \
  -t vmangos_build \
  -f ./docker/build/Dockerfile .



@@ 66,7 67,10 @@ if [ $(ls -l ./src/data | wc -l) -eq 1 ]; then
    exit 1
  fi

  docker build -t vmangos_extractors -f ./docker/extractors/Dockerfile .
  docker build \
    --no-cache \
    -t vmangos_extractors \
    -f ./docker/extractors/Dockerfile .

  docker run \
    -v "$repository_path/src/client_data:/client_data" \

M 00-update-including-world-database-import.sh => 00-update-including-world-database-import.sh +2 -1
@@ 51,6 51,7 @@ echo "[VMaNGOS]: Building VMaNGOS..."
docker build \
  --build-arg VMANGOS_USER_ID=$user_id \
  --build-arg VMANGOS_GROUP_ID=$group_id \
  --no-cache \
  -t vmangos_build \
  -f ./docker/build/Dockerfile .



@@ 74,7 75,7 @@ cd "$repository_path"

echo "[VMaNGOS]: Rebuilding containers..."

docker-compose build
docker-compose build --no-cache

echo "[VMaNGOS]: Recreating database container..."


M 00-update.sh => 00-update.sh +2 -1
@@ 51,6 51,7 @@ echo "[VMaNGOS]: Building VMaNGOS..."
docker build \
  --build-arg VMANGOS_USER_ID=$user_id \
  --build-arg VMANGOS_GROUP_ID=$group_id \
  --no-cache \
  -t vmangos_build \
  -f ./docker/build/Dockerfile .



@@ 84,7 85,7 @@ cd "$repository_path"

echo "[VMaNGOS]: Rebuilding containers..."

docker-compose build
docker-compose build --no-cache

echo "[VMaNGOS]: Recreating database container..."