Skip to content

Commit

Permalink
Merge pull request #1420 from k8s-infra-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…1418-to-release-1.28

[release-1.28] fix: revert alpine base image change to fix DNS issue
  • Loading branch information
k8s-ci-robot committed Sep 5, 2023
2 parents 91ad49b + 361aa9f commit 2e52c55
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/azurefileplugin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 2e52c55

Please sign in to comment.