From c26be905547983bcec8690bb129e82e57d62ba3a Mon Sep 17 00:00:00 2001 From: BlueFox Date: Sat, 21 Sep 2024 17:15:17 +0200 Subject: [PATCH] Fixed the container image not able to open terminal by adding a lib in Dockerfile --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 098a480..24ddcac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,14 +13,13 @@ RUN apk update && \ ./configure LDFLAGS="-static" && \ make -CMD ["./cmatrix"] - # final cmatrix Container Image FROM alpine LABEL org.opencontainers.image.authors="bluefox@privacynerd.de" +RUN apk update && apk add ncurses-terminfo-base COPY --from=cmatrixbuildimage /cmatrix/cmatrix /cmatrix CMD ["./cmatrix"]