Fixed the container image not able to open terminal by adding a lib in Dockerfile
This commit is contained in:
parent
a4a332f91e
commit
c26be90554
@ -13,14 +13,13 @@ RUN apk update && \
|
|||||||
./configure LDFLAGS="-static" && \
|
./configure LDFLAGS="-static" && \
|
||||||
make
|
make
|
||||||
|
|
||||||
CMD ["./cmatrix"]
|
|
||||||
|
|
||||||
|
|
||||||
# final cmatrix Container Image
|
# final cmatrix Container Image
|
||||||
FROM alpine
|
FROM alpine
|
||||||
|
|
||||||
LABEL org.opencontainers.image.authors="bluefox@privacynerd.de"
|
LABEL org.opencontainers.image.authors="bluefox@privacynerd.de"
|
||||||
|
|
||||||
|
RUN apk update && apk add ncurses-terminfo-base
|
||||||
COPY --from=cmatrixbuildimage /cmatrix/cmatrix /cmatrix
|
COPY --from=cmatrixbuildimage /cmatrix/cmatrix /cmatrix
|
||||||
|
|
||||||
CMD ["./cmatrix"]
|
CMD ["./cmatrix"]
|
||||||
|
Loading…
Reference in New Issue
Block a user