diff --git a/Dockerfile b/Dockerfile index ef1eb775..92616a49 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,6 +18,7 @@ RUN apt update && apt upgrade -y && apt-mark unhold libcap2 RUN clean-install util-linux e2fsprogs mount ca-certificates udev xfsprogs btrfs-progs open-iscsi CMD service iscsid start -COPY ./bin/iscsiplugin /iscsiplugin +ARG binary="./bin/isciplugin" +COPY $binary /iscsiplugin ENTRYPOINT ["/iscsiplugin"]