Quellcode durchsuchen

Merge pull request #1391 from Zebradil/patch-1

Update cargo install command
Tianon Gravi vor 7 Jahren
Ursprung
Commit
e66366d1ef
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      rust/content.md

+ 2 - 2
rust/content.md

@@ -13,12 +13,12 @@ Rust is a systems programming language sponsored by Mozilla Research. It is desi
 The most straightforward way to use this image is to use a Rust container as both the build and runtime environment. In your `Dockerfile`, writing something along the lines of the following will compile and run your project:
 
 ```dockerfile
-FROM %%IMAGE%%:1.23.0
+FROM %%IMAGE%%:1.31
 
 WORKDIR /usr/src/myapp
 COPY . .
 
-RUN cargo install
+RUN cargo install --path .
 
 CMD ["myapp"]
 ```