summaryrefslogtreecommitdiffstats
path: root/docker/alpine/Dockerfile-coverage
blob: 5fdb1179b09ae887b60caa276fd6bf1d0c4a6c41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
FROM alpine:3.7
ARG commit
ARG token
ENV COMMIT=${commit}
ENV TOKEN=${token}
ADD . /src
RUN cd /src && \
	source alpine/APKBUILD.in && \
	apk add --no-cache alpine-sdk $makedepends $checkdepends && \
	./bootstrap.sh && \
	./configure --enable-gcov
ENTRYPOINT [ "/bin/sh", "-c", "cd /src && make && make -j 1 check-coverage" ]