Skip to content

Commit

Permalink
Update the Windows install script
Browse files Browse the repository at this point in the history
I accidentally thought the MakeFile was still used here. Updates:
- base image
- arguments UNAME and UID instead of USERNAME and USERID
  • Loading branch information
natemacfadden committed Oct 28, 2024
1 parent 9b56295 commit 31c8b3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/windows/install.bat
100644 → 100755
Original file line number Diff line number Diff line change
@@ -5,8 +5,8 @@ set PWS=powershell.exe -ExecutionPolicy Bypass -NoLogo -NoProfile
docker info || echo. && echo "Please make sure that Docker is installed and running" && timeout /t 10 && exit

docker rmi cytools || echo "Old CYTools image does not exist or cannot be deleted"
docker pull python:3.11-bullseye
docker build --no-cache --force-rm -t cytools --build-arg USERNAME=root --build-arg USERID=0 --build-arg ARCH=amd64 --build-arg AARCH=x86_64 --build-arg VIRTUAL_ENV=/opt/cytools/cytools-venv/ --build-arg ALLOW_ROOT_ARG="--allow-root" --build-arg PORT_ARG=2875 ../../ || echo. && echo "There was an error while building the image. Please let the developers know, and try using a stable version of the package." && timeout /t 10 && exit
docker pull ubuntu:noble
docker build --no-cache --force-rm -t cytools --build-arg UNAME=root --build-arg UID=0 --build-arg ARCH=amd64 --build-arg AARCH=x86_64 --build-arg VIRTUAL_ENV=/opt/cytools/cytools-venv/ --build-arg ALLOW_ROOT_ARG="--allow-root" --build-arg PORT_ARG=2875 ../../ || echo. && echo "There was an error while building the image. Please let the developers know, and try using a stable version of the package." && timeout /t 10 && exit

set TARGET="%appdata%\CYTools\cytools.bat"
set TARGETU="%appdata%\CYTools\uninstall.bat"

0 comments on commit 31c8b3b

Please sign in to comment.