Actions
Feature #12406
openSupport for building on Alpine Linux
Status:
In Progress
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Community (user)
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Description
We are interested in running ceph on Alpine Linux because Alpine is a very lightweight and minimal linux distro that makes it very suitable as a base image for running docker containers.
Currently, building on Alpine Linux fails.
This is the Dockerfile we're using:
FROM alpine RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >>/etc/apk/repositories \ && echo "@edge-main http://nl.alpinelinux.org/alpine/edge/main" >>/etc/apk/repositories \ && apk update \ && apk add bash yasm libtool util-linux-dev udev-dev automake autoconf build-base git perl keyutils keyutils-dev crypto++@testing snappy@edge-main snappy-dev@edge-main \ && wget -O ceph.tar.gz http://ceph.com/download/ceph-9.0.2.tar.gz \ && tar xvzf ceph.tar.gz \ && cd ceph-9.0.2 \ && ./autogen.sh \ && ./configure \ && make \ && rm -rf /var/cache/apk/*
Even though snappy and snappy-dev was installed, ./configure was not able to find them:
checking for snappy_compress in -lsnappy... no configure: error: in `/ceph-9.0.2': configure: error: libsnappy not found See `config.log' for more details
It would be really awesome if ceph can be built on Alpine.
Actions