Browse Source

change to generic library

Mike Kinney 5 years ago
parent
commit
3a1628294a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      rust/content.md

+ 2 - 2
rust/content.md

@@ -39,12 +39,12 @@ COPY . .
 RUN cargo install --path .
 
 FROM debian:buster-slim
-RUN apt-get update && apt-get install -y libssl-dev
+RUN apt-get update && apt-get install -y extra-runtime-dependencies
 COPY --from=builder /usr/src/myapp/target/release/myapp /usr/local/bin/myapp
 CMD ["myapp"]
 ```
 
-Note: Some shared libraries may need to be installed as shown in the installation of the libssl line above.
+Note: Some shared libraries may need to be installed as shown in the installation of the `extra-runtime-dependencies` line above.
 
 This method will create an image that is less than 200mb. If you switch to using the Alpine-based rust image, you might be able to save another 60mb.