Skip to content

Commit 5892f8b

Browse files
authored
Merge pull request #396 from boddumanohar/update-golang-docker-image
update docker image version
2 parents da89e46 + 94f2d94 commit 5892f8b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

pkg/blobfuse-proxy/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515

16-
FROM golang:1.15.8-alpine as builder
16+
FROM golang:1.16.3-alpine3.13 as builder
1717
WORKDIR /go/src/sigs.k8s.io/blob-csi-driver
1818
ADD . .
1919
RUN GO111MODULE=on CGO_ENABLED=0 GOOS=linux go build -mod vendor -o _output/blobfuse-proxy ./pkg/blobfuse-proxy

pkg/blobplugin/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM golang:1.13.10-alpine3.10 as builder
15+
FROM golang:1.16.3-alpine3.13 as builder
1616
WORKDIR /go/src/sigs.k8s.io/blob-csi-driver
1717
ADD . .
1818
ARG TARGETARCH
@@ -26,7 +26,8 @@ RUN apt-get update && clean-install ca-certificates pkg-config libfuse-dev cmake
2626
RUN wget -O /tmp/packages-microsoft-prod.deb https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb && dpkg -i /tmp/packages-microsoft-prod.deb && apt-get update && apt install blobfuse fuse -y && rm -f /tmp/packages-microsoft-prod.deb
2727
RUN apt remove wget -y
2828
# this is a workaround to install nfs-common & nfs-kernel-server and don't quit with error
29-
RUN apt update && apt install nfs-common nfs-kernel-server -y || true
29+
# WIP: check if updating the kernel version would fix the below error
30+
# RUN apt update && apt install nfs-common nfs-kernel-server -y || true
3031
LABEL maintainers="andyzhangx"
3132
LABEL description="Azure Blob Storage CSI driver"
3233

0 commit comments

Comments
 (0)