adding armhf build for testing
This commit is contained in:
parent
7dc0250a37
commit
0204786139
|
@ -1,6 +1,8 @@
|
|||
FROM resin/armv7hf-debian:jessie
|
||||
FROM jsurf/rpi-raspbian
|
||||
MAINTAINER adam@diginc.us <adam@diginc.us>
|
||||
|
||||
RUN [ "cross-build-start" ]
|
||||
|
||||
# Requirements
|
||||
RUN apt-get -q update && \
|
||||
apt-get install -y \
|
||||
|
@ -58,3 +60,5 @@ EXPOSE 80
|
|||
|
||||
ENTRYPOINT ["/bash", "-c"]
|
||||
CMD /start.sh
|
||||
|
||||
RUN [ "cross-build-end" ]
|
||||
|
|
|
@ -9,6 +9,7 @@ run_local = testinfra.get_backend(
|
|||
@pytest.mark.parametrize("image,tag", [
|
||||
( 'alpine.docker', 'diginc/pi-hole:alpine' ),
|
||||
( 'debian.docker', 'diginc/pi-hole:debian' ),
|
||||
( 'debian-armhf.docker', 'diginc/pi-hole-armhf:debian' ),
|
||||
])
|
||||
def test_build_pihole_image(image, tag):
|
||||
build_cmd = run_local('docker build -f {} -t {} .'.format(image, tag))
|
||||
|
|
Loading…
Reference in New Issue