Skip to content

Commit

Permalink
saw/Dockerfile: Install libreadline-dev in last stage
Browse files Browse the repository at this point in the history
This is necessary for `saw` commands that rely on `libreadline` to
work, such as `write_cnf_external`.

Fixes #1211.
  • Loading branch information
RyanGlScott committed Apr 26, 2021
1 parent 731bcd0 commit 8e716b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion saw/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ RUN chown -R root:root /home/saw/rootfs

FROM debian:buster-slim
RUN apt-get update \
&& apt-get install -y libgmp10 libgomp1 libffi6 wget libncurses5 unzip
&& apt-get install -y libgmp10 libgomp1 libffi6 wget libncurses5 libreadline-dev unzip
COPY --from=build /home/saw/rootfs /
COPY --from=solvers /solvers/rootfs /
RUN useradd -m saw && chown -R saw:saw /home/saw
Expand Down

0 comments on commit 8e716b7

Please sign in to comment.