From 87468aef7c2110aea1b19d9eafea4d920ceceef6 Mon Sep 17 00:00:00 2001 From: Chris Reed <55092742+cjreed121@users.noreply.github.com> Date: Wed, 21 Feb 2024 16:50:21 -0500 Subject: [PATCH] Add serde to CSCI 4510 (#18) --- dockerfiles/csci4510/spring24/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dockerfiles/csci4510/spring24/Dockerfile b/dockerfiles/csci4510/spring24/Dockerfile index e6897d8..42d1635 100644 --- a/dockerfiles/csci4510/spring24/Dockerfile +++ b/dockerfiles/csci4510/spring24/Dockerfile @@ -307,9 +307,10 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/*; RUN cargo new dockerdeps \ - && echo 'serde_json = "1.0.111"' >> /dockerdeps/Cargo.toml \ + && echo 'serde_json = "=1.0.111"' >> /dockerdeps/Cargo.toml \ + && echo 'serde = { version = "=1.0.196", features = ["derive"] }' >> /dockerdeps/Cargo.toml \ && cd dockerdeps \ - && cargo build \ + && cargo fetch \ && cd .. && \ rm -rf dockerdeps