mirror of
https://github.com/oracle/zfssa-csi-driver.git
synced 2025-09-19 16:37:25 +00:00
Added Dockerfile to build CSI driver container
This commit is contained in:
23
Dockerfile
Normal file
23
Dockerfile
Normal file
@@ -0,0 +1,23 @@
|
||||
# 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"]
|
Reference in New Issue
Block a user