mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 02:33:34 +00:00
build: add an option to compile in a container
This makes it possible to build on any platform that supports Linux containers. The container image used for building is created once, or on updating the `scripts/Dockerfile.build` and is cached afterwards. To build the executable in a container, use `make containerized-build` and everything will be done automatically. The executable will also be available on the usual location. Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
committed by
mergify[bot]
parent
ae4d269836
commit
7381253ee0
@ -36,9 +36,12 @@ it is **highly** encouraged to:
|
||||
|
||||
### Building Ceph-CSI
|
||||
|
||||
To build ceph-csi run:
|
||||
To build ceph-csi locally run:
|
||||
`$ make`
|
||||
|
||||
To build ceph-csi in a container:
|
||||
`$ make containerized-build`
|
||||
|
||||
The built binary will be present under `_output/` directory.
|
||||
|
||||
### Code contribution workflow
|
||||
|
Reference in New Issue
Block a user