Skip to content

Commit

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

[release-1.26] fix: switch base image to fix CVEs
  • Loading branch information
andyzhangx authored Apr 15, 2023
2 parents fdd091b + 7eb2536 commit 1e5db6b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/azurediskplugin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM registry.k8s.io/build-image/debian-base:bullseye-v1.4.2

RUN apt update && apt upgrade -y && apt-mark unhold libcap2 && clean-install util-linux e2fsprogs mount ca-certificates udev xfsprogs btrfs-progs
FROM alpine:3.15.1
RUN apk upgrade --available --no-cache && \
apk add --no-cache util-linux e2fsprogs e2fsprogs-extra ca-certificates udev xfsprogs xfsprogs-extra btrfs-progs btrfs-progs-extra

LABEL maintainers="andyzhangx"
LABEL description="Azure Disk CSI Driver"
Expand Down

0 comments on commit 1e5db6b

Please sign in to comment.