瀏覽代碼

Run update.sh

Docker Library Bot 5 年之前
父節點
當前提交
ab4bfcb23e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      rust/README.md

+ 1 - 1
rust/README.md

@@ -91,7 +91,7 @@ COPY . .
 RUN cargo install --path .
 
 FROM debian:buster-slim
-RUN apt-get update && apt-get install -y extra-runtime-dependencies
+RUN apt-get update && apt-get install -y extra-runtime-dependencies && rm -rf /var/lib/apt/lists/*
 COPY --from=builder /usr/local/cargo/bin/myapp /usr/local/bin/myapp
 CMD ["myapp"]
 ```