Skip to content

Commit 9aff3a8

Browse files
committed
fixing the docker file to include the correct binary for the build, currently all built images have the linux/amd64 binary
1 parent bccce0d commit 9aff3a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ RUN apt update && apt upgrade -y && apt-mark unhold libcap2
1818
RUN clean-install util-linux e2fsprogs mount ca-certificates udev xfsprogs btrfs-progs open-iscsi
1919

2020
CMD service iscsid start
21-
COPY ./bin/iscsiplugin /iscsiplugin
21+
ARG binary="./bin/iscsiplugin"
22+
COPY $binary /iscsiplugin
2223

2324
ENTRYPOINT ["/iscsiplugin"]

0 commit comments

Comments
 (0)