2016-12-21 01:29:31 +00:00
|
|
|
# Alpine Build (Experimental)
|
|
|
|
|
|
|
|
## Dev Env Setup
|
|
|
|
|
|
|
|
```
|
|
|
|
apk --update add bash sudo git
|
|
|
|
git clone https://github.com/ceph/ceph
|
|
|
|
```
|
|
|
|
|
|
|
|
### Build
|
|
|
|
|
|
|
|
```
|
2018-05-09 02:24:17 +00:00
|
|
|
./run-make-check.sh -DWITH_SYSTEM_BOOST=ON -DWITH_LTTNG=OFF -DWITH_REENTRANT_STRSIGNAL=ON -DWITH_THREAD_SAFE_RES_QUERY=ON
|
2016-12-21 01:29:31 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
### Packaging
|
|
|
|
|
|
|
|
```
|
|
|
|
./make-apk.sh
|
|
|
|
```
|
|
|
|
|
|
|
|
### Docker
|
|
|
|
|
|
|
|
```
|
|
|
|
cd ceph/src
|
|
|
|
|
|
|
|
./test/docker-test.sh --os-type alpine --os-version edge ./make-apk.sh
|
|
|
|
|
|
|
|
or
|
|
|
|
|
2018-05-09 02:24:17 +00:00
|
|
|
./test/docker-test.sh --os-type alpine --os-version edge -- ./run-make-check.sh -DWITH_SYSTEM_BOOST=ON -DWITH_LTTNG=OFF -DWITH_REENTRANT_STRSIGNAL=ON -DWITH_THREAD_SAFE_RES_QUERY=ON
|
2016-12-21 01:29:31 +00:00
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
## Known Issues
|
|
|
|
|
|
|
|
- Uses musl libc malloc because musl does not currently support replacing malloc implementation. see https://bugs.alpinelinux.org/issues/5389
|
|
|
|
- No backtrace support need to look at libunwind integration
|