zfssa-csi-driver/Dockerfile
2021-08-24 16:50:27 -06:00

24 lines
715 B
Docker

# Copyright (c) 2021 Oracle and/or its affiliates.
#
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
# This is the Dockerfile for Oracle ZFS Storage Appliance CSI Driver
#
FROM container-registry.oracle.com/os/oraclelinux:7-slim
LABEL maintainers="Oracle"
LABEL description="Oracle ZFS Storage Appliance CSI Driver for Kubernetes"
ARG var_proxy
ENV http_proxy=$var_proxy
ENV https_proxy=$var_proxy
# Add util-linux to get a new version of losetup.
RUN yum -y install iscsi-initiator-utils nfs-utils e2fsprogs xfsprogs && yum clean all
ENV http_proxy ""
ENV https_proxy ""
COPY ./bin/zfssa-csi-driver /zfssa-csi-driver
ENTRYPOINT ["/zfssa-csi-driver"]