docker-compose.yml 1.0 KB

123456789101112131415161718192021222324
  1. version: "3"
  2. # This docker-compose is for testing the installation process.
  3. # In starts the installation and executes also build of get-started example.
  4. services:
  5. idf-setup-test:
  6. image: mcr.microsoft.com/windows/servercore:1809
  7. command: powershell -c "C:/Scripts/Prepare-Cache.ps1 -IdfVersion ${IDF_VERSION}; C:/Scripts/Install-Idf.ps1 -Installer 'c:/Output/esp-idf-tools-setup-unsigned.exe' -IdfVersion ${IDF_VERSION}; C:/Scripts/Test-Idf.ps1; powershell ;exit $$LASTEXITCODE"
  8. tmpfs:
  9. - C:\Users\ContainerAdministrator\.espressif
  10. volumes:
  11. - type: bind
  12. source: C:\projects\esp-idf\tools\windows\tool_setup\Output
  13. target: C:\Output
  14. read_only: true
  15. - type: bind
  16. source: C:\projects\esp-idf\tools\windows\tool_setup\Scripts
  17. target: C:\Scripts
  18. read_only: true
  19. # releases volume to speed up installation and avoid downloading of files
  20. - type: bind
  21. source: C:\projects\esp-tests\installer-docker-runner\.espressif\
  22. target: C:\Cache
  23. read_only: true