summaryrefslogtreecommitdiff
path: root/floss/build/build-in-docker.py
AgeCommit message (Collapse)Author
2022-03-31floss: Replace docker with podmanAbhishek Pandit-Subedi
Docker requires root permissions to run and is not preferable for security reasons. Podman is a drop-in replacement that doesn't run as root. Bug: 220203992 Tag: #floss Test: ./docker-build-image.py --tag floss:latest; ./build-in-docker.py Change-Id: I813fb63a25bf5588560090ddfb0ad290729a4ff1
2022-03-29floss: Accept staging directory for build artifactsAbhishek Pandit-Subedi
Instead of requiring a volume to be created, accept a staging directory where floss will write all artifacts. Bug: 224613794 Tag: #floss Test: ./build-in-docker.py Change-Id: Id4bb51a070b4649be47de36eaf45f6fac63fea45
2022-03-29floss: Always stop container after buildingAbhishek Pandit-Subedi
After building, always stop the container and clean it up. Bug: 224613803 Tag: #floss Test: ./build-in-docker.py Change-Id: I37b795f05d46a6e0d989acd664733774086eb3b6
2022-03-08Adding missing import for time in Floss-build-in-Docker script.shiu
Bug: 223377950 Test: cert/run Change-Id: I020d9086d0e55f3c17d693194b4ab9f76a8be027
2022-02-18floss: Add docker image for buildAbhishek Pandit-Subedi
Add instructions on how to build with docker and include the dockerfile used to generate the image used. Also include a python script that can be run to generate the docker image and build everything. * `sudo ./docker-build-image.py --tag floss:latest` will build the docker image from scratch * `sudo ./build-in-docker.py` will build Floss in the current repository. Tag: #floss Bug: 220203992 Test: ./floss/build/docker-build.py and ./build.py inside container Change-Id: I0888a4e00de2d1f561874d6a555fc847538a131c