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

Rex Tsai rex.tsai at canonical.com
Thu Sep 22 16:28:03 UTC 2016


Since the image[1] does not use the auto-build hook with github nor share
the Dockerfile, I can only check the binary image. Form the binary image it
looks like it only supports x86_64 and using an old 2.15.1 snapcraft. Not
sure who is the maintainer.

I'm aiming to support system engineers to build Ubuntu Core image, maybe we
are not sharing the same goal here. If it's useful please find the source
code on github[2].

[1] https://hub.docker.com/r/snapcore/snapcraft/
[2] https://github.com/chihchun/snapcraft-docker
Cheers
-Rex

On Fri, Sep 23, 2016 at 12:19 AM, Loïc Minier <loic.minier at ubuntu.com>
wrote:

> 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/snapc
>> raft/xenial-amd64/
>>
>> Cheers
>> -Rex
>>
>
>
>
> --
> - Loïc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20160923/0fcf5c46/attachment.html>


More information about the Snapcraft mailing list