On Wed, Dec 02, 2015 at 08:41:45PM +1100, Justin Mclean wrote:
> Hi,
>
> Out of interest where is the mynewt docker instance hosted and what
> does it contain? I’m asking to make sure it couldn’t be considered an
> Apache release.
Hi Justin,
That is a good question. The docker image is hosted on docker hub ()
The image is based off of the golang 1.5 docker image (). In addition,
it pulls in the following debian packages:
* gcc-multilib (for building 32-bit sim binaries)
* libc6-i386 (also for sim binaries)
* libnewlib-arm-none-eabi (for cross-compiling to arm)
* gcc-arm-none-eabi (for cross-compiling to arm)
Below is the Dockerfile that was used to create the image. Hopefully
none of this runs afoul of any Apache or licensing concerns!
Thanks,
Chris
-----
# (Dockerfile)
FROM golang:1.5
# jessie-backports required for newlib.
RUN echo 'deb http://httpredir.debian.org/debian jessie-backports main'
> /etc/apt/sources.list.d/backports.list && \
apt-get update && apt-get install -y --no-install-recommends \
gcc-multilib \
libc6-i386 \
libnewlib-arm-none-eabi \
gcc-arm-none-eabi && \
rm -rf /var/lib/apt/lists/*
RUN go get
git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt