1 FROM centos:8 AS builder
2 RUN dnf -y install cmake gcc gcc-c++ git readline-devel make
3 RUN git clone https://codeberg.org/armaan/gen-shell.git /app
5 RUN cmake --configure .
9 RUN dnf -y install readline cpp
11 COPY --from=builder /app/src/gen-shell .
12 ENTRYPOINT ./gen-shell $CMD