Merge pull request #9164 from Apokleos/directvol-csi-dockerfile

csi-kata-directvolume: add Dockerfile for building csi image
This commit is contained in:
Alex Lyn 2024-03-01 18:12:19 +08:00 committed by GitHub
commit 13a20957cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,15 @@
# Copyright (c) 2024 Ant Group
#
# SPDX-License-Identifier: Apache-2.0
FROM alpine:3.19
LABEL maintainers="Kata Containers Authors"
LABEL description="Kata DirectVolume Driver"
ARG binary=./bin/directvolplugin
RUN apk add --no-cache util-linux=2.39.3-r0 coreutils=9.4-r2 e2fsprogs=1.47.0-r5 xfsprogs=6.5.0-r0 xfsprogs-extra=6.5.0-r0 btrfs-progs=6.6.2-r0 \
&& apk update \
&& apk upgrade
COPY ${binary} /kata-directvol-plugin
ENTRYPOINT ["/kata-directvol-plugin"]