diff --git a/Dockerfile b/Dockerfile
index 85937ff3d907a68002ce8e8fd5e2d08605b673a1..a60f154d604d0df8c507eb1593b8f70b8afba566 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -20,7 +20,4 @@ RUN chmod +x install_rustup.sh
 RUN ./install_rustup.sh
 
 # Now act as `user`
-USER user
-
-RUN export PATH="$HOME/.cargo/bin:$PATH"
-RUN rustup component add rustfmt
\ No newline at end of file
+USER user
\ No newline at end of file