diff --git a/Dockerfile b/Dockerfile index 15b9da9..b6a2f09 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,7 @@ FROM ekidd/rust-musl-builder:stable as builder # create new cargo project RUN USER=rust cargo init --lib +RUN echo 'fn main() { println!("Hello, world!"); }' >> src/main.rs # copy build config COPY --chown=rust ./Cargo.lock ./Cargo.lock COPY ./Cargo.toml ./Cargo.toml