mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-12 14:30:12 +01:00
The ZFS 0.8 has dependency on libcrypto.so.1.1 which in turn requires GLIBC_2.25 supported by the system. Changed the docker image to 18:04 as 16:04 has glibc version 2.23. Also updated the README with the supported system details. Signed-off-by: Pawan <pawan@mayadata.io>
25 lines
728 B
Docker
25 lines
728 B
Docker
#
|
|
# This Dockerfile builds a recent volume-mgmt using the latest binary from
|
|
# volume-mgmt releases.
|
|
#
|
|
|
|
FROM ubuntu:18.04
|
|
RUN apt-get update; exit 0
|
|
RUN apt-get -y install rsyslog libssl-dev
|
|
#RUN apt-get clean && rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY zfs-driver /usr/local/bin/
|
|
COPY entrypoint.sh /usr/local/bin/
|
|
|
|
RUN chmod +x /usr/local/bin/entrypoint.sh
|
|
|
|
ARG BUILD_DATE
|
|
LABEL org.label-schema.name="zfs-driver"
|
|
LABEL org.label-schema.description="OpenEBS"
|
|
LABEL org.label-schema.url="http://www.openebs.io/"
|
|
LABEL org.label-schema.vcs-url="https://github.com/openebs/zfs-localpv"
|
|
LABEL org.label-schema.schema-version="1.0"
|
|
LABEL org.label-schema.build-date=$BUILD_DATE
|
|
|
|
ENTRYPOINT ["/usr/local/bin/zfs-driver"]
|
|
EXPOSE 7676 7777
|