File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -110,3 +110,19 @@ $ csc controller delete-snapshot
110
110
``` console
111
111
helm repo index charts --url=https://raw.githubusercontent.com/kubernetes-sigs/blobfuse-csi-driver/master/charts
112
112
```
113
+
114
+ #### How to debug Dockerfile config
115
+ - create ` blob.Dockerfile ` file
116
+ ```
117
+ FROM us.gcr.io/k8s-artifacts-prod/build-image/debian-base-amd64:v2.1.0
118
+ RUN apt-get update && clean-install ca-certificates pkg-config libfuse-dev cmake libcurl4-gnutls-dev libgnutls28-dev uuid-dev libgcrypt20-dev wget
119
+ # this is a workaround to install nfs-common and don't quit with error
120
+ RUN apt update && apt install udev util-linux mount nfs-common -y || true
121
+ LABEL maintainers="andyzhangx"
122
+ LABEL description="Azure Blob Storage CSI driver"
123
+ ```
124
+ - build image from ` blob.Dockerfile `
125
+ ``` console
126
+ docker build --no-cache -t andyzhangx/blobnfs:v1 -f ./blob.Dockerfile .
127
+ docker run --network host -it andyzhangx/blobnfs:v1 sh
128
+ ```
You can’t perform that action at this time.
0 commit comments