We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7ef7d0 commit 075c998Copy full SHA for 075c998
Dockerfile
@@ -12,11 +12,13 @@
12
# See the License for the specific language governing permissions and
13
# limitations under the License.
14
15
-FROM centos:latest
+FROM k8s.gcr.io/build-image/debian-base-amd64:v2.1.3
16
17
# Copy nfsplugin from build _output directory
18
COPY bin/nfsplugin /nfsplugin
19
20
-RUN yum -y install nfs-utils epel-release jq && yum clean all
+# this is a workaround to install nfs-common & nfs-kernel-server and don't quit with error
21
+# https://github.com/kubernetes-sigs/blob-csi-driver/issues/214#issuecomment-781602430
22
+RUN apt update && apt install ca-certificates nfs-common nfs-kernel-server -y || true
23
24
ENTRYPOINT ["/nfsplugin"]
0 commit comments