Skip to content
Snippets Groups Projects
Commit 62a75bb5 authored by Simon Wittl's avatar Simon Wittl
Browse files

fixed dockerfile

parent 76081a17
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,6 @@ RUN powershell "choco install git -y"
RUN powershell "choco install -y python --version 3.8.3"
RUN powershell "choco install -y openssl --version 1.1.1.2100"
RUN powershell "setx /m OPENSSL_CONF 'C:\Program Files\OpenSSL-Win64\bin\openssl.cfg'"
RUN powershell "choco install visualstudio2022buildtools --includeRecommended -y"
RUN powershell "choco install -y cmake"
# donload specific choco packages
......@@ -37,6 +36,15 @@ RUN powershell "python -m pip install -U catkin_pkg cryptography empy importlib-
RUN powershell "Invoke-WebRequest -Uri https://github.com/ros2/ros2/releases/download/release-humble-20240222/ros2-humble-20240222-windows-release-amd64.zip -OutFile ros2-humble-20240222-windows-release-amd64.zip"
RUN powershell "mkdir C:\dev"
RUN powershell "Expand-Archive C:\ros2-humble-20240222-windows-release-amd64.zip -DestinationPath C:\dev "
RUN powershell "Rename-Item -Path C:\dev\ros2-windows -NewName C:\dev\ros2_humble"
RUN powershell "choco install visualstudio2019community -y"
RUN powershell "python -m pip install -U colcon-common-extensions"
RUN powershell "rm ros2-humble-20240222-windows-release-amd64.zip"
RUN powershell "choco install visualstudio2019-workload-nativedesktop -y"
RUN powershell "mkdir C:/dev/rq/"
# set the workdir
WORKDIR C:/dev/rq
# set entrypoint
ENTRYPOINT ["C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\Common7\\Tools\\VsDevCmd.bat", "-arch=amd64", "-host_arch=amd64", "&&", "powershell.exe", "-NoLogo", "-ExecutionPolicy", "Bypass"]
\ No newline at end of file
ENTRYPOINT ["C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\Common7\\Tools\\VsDevCmd.bat", "-arch=amd64", "-host_arch=amd64", "&&", "cmd.exe", "-NoLogo", "-ExecutionPolicy", "Bypass"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment