Test: Added expect to Dockerfile and made sure pagination test worked in docker

This commit is contained in:
Olof hagsand 2022-03-14 14:17:32 +01:00
parent e0f5472161
commit 159ac0a2d7
6 changed files with 14 additions and 9 deletions

View file

@ -108,6 +108,7 @@ RUN install example.xml /clixon/build/etc/clixon.xml
WORKDIR /clixon/clixon/test
RUN install -d /clixon/build/bin/test
RUN install *.sh /clixon/build/bin/test
RUN install *.exp /clixon/build/bin/test
# Copy startscript
WORKDIR /clixon
@ -132,7 +133,7 @@ RUN apk add --update openssl
RUN apk add --update nghttp2
# Test-specific (for test scripts)
RUN apk add --update sudo curl procps grep make bash # iproute2 # contains ip - but CAP_SYS_ADMIN isssue
RUN apk add --update sudo curl procps grep make bash expect
# Expose https port for restconf
EXPOSE 80/tcp