Azure-Samples/azure-iot-starter-kits

windows 7: resin/rpi-raspbian deprecation warning (cant build image)

Closed this issue · 1 comments

Please provide us with the following information:

This issue is for a: (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

  • Build seeed/1-temperature-sensor/modules/temperature-sensor/Dockerfile.arm32v7 (or the deps version, both reference resin/rpi-raspbian)
  • Build will fail due to deprecation warning from resin

Any log messages given by the failure

Sending build context to Docker daemon 14.34kB
Step 1/11 : FROM resin/rpi-raspbian:stretch
Executing 1 build trigger
---> Running in d8dbf30fcbba
standard_init_linux.go:207: exec user process caused "exec format error"
The command '/bin/sh -c cat /.resin/deprecation-warning' returned a non-zero code: 1

Expected/desired behavior

Successful build of temperature-sensor docker image

OS and Version?

Windows 7

Versions

Mention any other details that might be useful

Step 2/11 : RUN [ "cross-build-start" ]
---> Running in 170986dc98e2
OCI runtime create failed: container_linux.go:344: starting container process caused "exec: "cross-build-start": executable file not found in $PATH": unknown

edit: the image is successfully built (no deprecation warning stopping the build) when building on Windows 10 Pro 1809. It gets past the deprecation warning message (this stops the Docker build on Windows 7). After running the image as container on my raspberry pi, however, I run into this issue: #31

Closing this issue because it works properly on Windows 10 Pro 1809 with Docker CE.