Docker image for building Ubuntu (amd64/i386/armhf/arm64) snaps

Loïc Minier loic.minier at ubuntu.com
Thu Sep 22 16:19:02 UTC 2016


Hi!

Is there a big difference with the
https://hub.docker.com/r/snapcore/snapcraft/ image? Perhaps we can merge
the two to avoid confusion from end-users?

Thanks,
- Loïc

On Thu, Sep 22, 2016 at 3:24 PM, Rex Tsai <rex.tsai at canonical.com> wrote:

>
> This image includes toolchains and snapcraft to help app developers (and
> hardware enablement engineers) who don't have a Ubuntu installation to
> build a snap software package.
>
> It's also support building snap on amd64, i386 (native and amd64
> architecture), armhf (native and amd64 architecture), arm64 (native and
> amd64 architecture). That help an app developer to cross build a arm-based
> snap from amd64.
>
> To use the docker container to build a
> #
> ​ ​
> Please put this line in your
> ${HOME}/.$(basename ${SHELL})rc
>> alias snapcraft-docker='docker run -u $(id -u) -t -i --rm -v $(pwd):/build
> \
> -v ${HOME}/.snap:/build/.snap \
> -v ${HOME}/.local/share/snapcraft:/build/.local/share/snapcraft \
> snapcraft/xenial-amd64 snapcraft'
>
> snapcraft-docker tour
> cd snapcraft-tour/00-SNAPCRAFT/01-easy-start && snapcraft-docker
>
> Please find the README on https://hub.docker.com/r/snapcraft/xenial-amd64/
>
> Cheers
> -Rex
>



-- 
- Loïc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20160922/49c22875/attachment.html>


More information about the Snapcraft mailing list