summaryrefslogtreecommitdiffstats
path: root/README.alpine.md
blob: 0fe91088c109db585488f2aefa6abb4f231e0227 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Alpine Build (Experimental)

## Dev Env Setup

```
apk --update add bash sudo git
git clone https://github.com/ceph/ceph
```

### Build

```
./run-make-check.sh -DWITH_SYSTEM_BOOST=ON -DWITH_LTTNG=OFF -DWITH_REENTRANT_STRSIGNAL=ON -DWITH_THREAD_SAFE_RES_QUERY=ON
```

### Packaging

```
./make-apk.sh
```

### Docker

```
cd ceph/src

./test/docker-test.sh --os-type alpine --os-version edge ./make-apk.sh

or

./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

```

## 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