Skip to content

Replace expect with yes #5

@chenger

Description

@chenger

./lib/root.exp "$file" вызывает вот это:
https://github.com/dbfun/cryptopro/blob/master/scripts/lib/root.exp
Cейчас делал для кубера это, можно сделать вот так:
yes o | /opt/cprocsp/bin/amd64/certmgr -inst -all -store uroot -file /opt/cacer.p7b;
yes сам понажимает o, и yes есть в большинстве образов, в отличии от expect
Поэтому можно из Dockerfile выпилить установку expect

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions