diff options
author | Paweł Dybiec <pawel@dybiec.info> | 2022-12-27 15:40:10 +0000 |
---|---|---|
committer | Paweł Dybiec <pawel@dybiec.info> | 2022-12-27 15:40:10 +0000 |
commit | cc0da9bbff342e83f523ad4ff7412875e9a9b44c (patch) | |
tree | ca8dfbef7d07cd2d3d8c9aa3c9a14571de16685b /Dockerfile | |
parent | Use db for static strings (diff) |
[CI] Add sqlite to docker and builds
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile index a545eb1..c34a220 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM docker.io/rust:slim-bullseye as builder WORKDIR /app -RUN apt update && apt install libssl-dev pkg-config -y +RUN apt update && apt install libssl-dev pkg-config libsqlite3-dev -y RUN cargo install cargo-prefetch RUN cargo prefetch COPY Cargo* /app/ @@ -8,5 +8,5 @@ COPY src /app/src RUN cargo build --release FROM docker.io/debian:bullseye-slim COPY --from=builder /app/target/release/vavbot /vavbot -RUN apt update && apt install openssl ca-certificates -y +RUN apt update && apt install openssl sqlite3 ca-certificates -y CMD [ "/vavbot" ] \ No newline at end of file |