zfs-localpv/buildscripts/zfs-driver/Dockerfile
Steve Fan 3e874ffad7
Upgrade the base ubuntu package (#68)
Addresses GLIBC incompatability
Probably fixes #67

Signed-off-by: Steve Fan <29133953+stevefan1999-personal@users.noreply.github.com>
2020-03-30 17:52:18 +05:30

25 lines
752 B
Docker

#
# This Dockerfile builds a recent volume-mgmt using the latest binary from
# volume-mgmt releases.
#
FROM ubuntu:19.10
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
RUN apt-get update; exit 0
RUN apt-get -y install rsyslog libssl-dev xfsprogs ca-certificates
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