Skip to content

Commit 6d71b5f

Browse files
committed
Workaround on Go binaries not being read by qemu after version 2.8. Using 2.7.0
1 parent f0ab7a9 commit 6d71b5f

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ env:
99
global:
1010
- IMAGE=carlosedp/arm_exporter
1111
- BINARY=rpi_exporter
12-
- QEMU_VERSION=v2.9.1-1
12+
- QEMU_VERSION=v2.7.0
1313
matrix:
1414
# TARGET = Base image architecture to be used
1515
# ARCH = qemu binary to be downloaded from https://github.com/multiarch/qemu-user-static/releases
1616
# TAG = Tag to be applied to the image when upload to DockerHub
1717
- TARGET=arm64v8 ARCH=aarch64 TAG=arm64 RELEASE=arm64
18-
- TARGET=arm32v6 ARCH=arm TAG=arm RELEASE=armv6
18+
- TARGET=arm32v6 ARCH=arm TAG=arm RELEASE=armv7
1919

2020
script:
2121
- DOWNLOAD_URL=$(curl -s https://api.github.com/repos/lukasmalkmus/rpi_exporter/releases/latest | grep "browser_download_url" | grep "$RELEASE" | cut -d\" -f4)

Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
ARG target=arm32v6
22
FROM $target/alpine
33

4-
# set version label
5-
LABEL maintainer="carlosedp"
6-
74
ARG arch=arm
85
ENV ARCH=$arch
96

0 commit comments

Comments
 (0)