From 570214eb420cda286bdfa587ebfcd66b376cdb04 Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Sun, 3 Sep 2023 08:18:42 +0000 Subject: [PATCH] fix: revert alpine base image change fix --- pkg/azurefileplugin/Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkg/azurefileplugin/Dockerfile b/pkg/azurefileplugin/Dockerfile index 44c8db1964..dcfdf55178 100644 --- a/pkg/azurefileplugin/Dockerfile +++ b/pkg/azurefileplugin/Dockerfile @@ -12,14 +12,13 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM alpine:3.18.3 +FROM registry.k8s.io/build-image/debian-base:bullseye-v1.4.3 ARG ARCH=amd64 ARG binary=./_output/${ARCH}/azurefileplugin COPY ${binary} /azurefileplugin -RUN apk upgrade --available --no-cache && \ - apk add --no-cache ca-certificates cifs-utils util-linux e2fsprogs-extra udev xfsprogs-extra nfs-utils +RUN apt update && apt upgrade -y && apt-mark unhold libcap2 && clean-install ca-certificates cifs-utils util-linux e2fsprogs mount udev xfsprogs nfs-common netbase LABEL maintainers="andyzhangx" LABEL description="AzureFile CSI Driver"