issue/5035: Install pytest with pip to get the Alpine packages built

Signed-off-by: Ronny Trommer <ronny@opennms.org>
This commit is contained in:
Ronny Trommer 2019-09-23 16:14:41 +02:00
parent 7d7828cf25
commit 07a8cdcdf1
No known key found for this signature in database
GPG Key ID: 9075B2E508A2451E

View File

@ -29,6 +29,8 @@ RUN echo 'http://dl-cdn.alpinelinux.org/alpine/edge/testing' >> /etc/apk/reposit
abuild \
alpine-conf \
alpine-sdk \
py-pip \
&& pip install pytest \
&& setup-apkcache /var/cache/apk \
&& mkdir -p /pkgs/apk \
&& echo 'builder ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers