Skip to content

Commit

Permalink
update dockerfile for ubuntu 20.04
Browse files Browse the repository at this point in the history
  • Loading branch information
diptanu committed Jul 23, 2024
1 parent e866fac commit 3e97551
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ rust-embed = { version = "8.2.0", features = [
"debug-embed",
"interpolate-folder-path",
] }
rustls = { version = "0.23", features = ["std"] }
rustls = { version = "0.23", default-features=false, features = ["std", "tls12", "logging"] }
rustls-pemfile = { version = "2.0.0" }
rusqlite = { version = "0.30.0", features = ["bundled", "serde_json"] }
serde = { version = "1", features = ["derive"] }
Expand Down
6 changes: 4 additions & 2 deletions dockerfiles/Dockerfile.builder
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update
RUN apt -y install software-properties-common unzip \
build-essential make cmake g++ ca-certificates \
build-essential make cmake ca-certificates \
curl pkg-config git \
sqlite3 libssl-dev libclang-dev
sqlite3 clang gcc-10 g++-10
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain stable -y

Expand All @@ -24,3 +24,5 @@ RUN curl -sL https://deb.nodesource.com/setup_22.x | bash

RUN apt install -y nodejs

RUN apt remove -y gcc-9 g++-9
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 20 --slave /usr/bin/g++ g++ /usr/bin/g++-10

0 comments on commit 3e97551

Please sign in to comment.