mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-26 16:20:28 +00:00
7381253ee0
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>
12 lines
144 B
Docker
12 lines
144 B
Docker
FROM ceph/ceph:v14
|
|
|
|
ENV GOPATH=/go
|
|
|
|
RUN yum -y install \
|
|
golang \
|
|
make \
|
|
librados-devel \
|
|
librbd-devel \
|
|
&& yum -y update \
|
|
&& true
|