Skip to content
Aurelio Jargas edited this page Mar 16, 2016 · 4 revisions

Running clitest tests in Alpine Linux (Busybox)

Alpine runs ash, which is a minimal shell with POSIX compatibility.

As we don't have Perl installed in Alpine by default, just create a fake /bin/perl and ignore some Perl-related tests with --skip.

cd clitest-repo

docker run -v "$PWD":/app alpine ash -c \
  'echo exit 0 > /bin/perl; chmod +x /bin/perl; cd /app && ./clitest --skip 119,131,140 test.md'
Clone this wiki locally