diff --git a/Dockerfile b/Dockerfile
index 8a10e123c99c1e9ef987d84f3ad9f5cbf96c2d52..582ec075791a8fac9d543a196fa3416bf4237be6 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -72,7 +72,7 @@ ENV PATH /root/.cargo/bin:$PATH
 RUN rustup target add armv7-unknown-linux-gnueabihf
 
 # install cargo deb
-RUN cargo install --git https://github.com/librelois/cargo-deb
+RUN cargo install cargo-deb --git https://github.com/librelois/cargo-deb
 
 # cleanup
 RUN apt-get autoremove -y