summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml2
-rw-r--r--Dockerfile4
2 files changed, 3 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 922bd2b..8b97ff3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,7 +16,7 @@ build_and_test:
 
   stage: build
   before_script:
-    - apk add openssl openssl-dev musl-dev
+    - apk add openssl openssl-dev musl-dev sqlite
   script:
     - cargo build
     - cargo test
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