Bind-mount repo in image builder (#1157)

Reduces built image size by not accidentally copying source in
This commit is contained in:
Matt
2024-01-14 13:31:12 -05:00
committed by GitHub
parent b729d9e917
commit 152888f216

View File

@@ -307,6 +307,8 @@ jobs:
image_additional_mb: ${{ matrix.image_additional_mb }}
optimize_image: yes
cpu: ${{ matrix.cpu }}
# We do _not_ wanna copy photon into the image. Bind mount instead
bind_mount_repository: true
commands: |
chmod +x scripts/armrunner.sh
./scripts/armrunner.sh