These images were created by travis-ci.org and hub.docker.com
To save time, you can download images that have already completed the fed-artik-init-buildsys and dnf update tasks.
$ docker pull webispy/artik_devenv_f710
or
$ docker pull webispy/artik_devenv_f530
or
$ docker pull webispy/artik_devenv_f520
You can build a RPM package with following commands. The default user for docker image is set to 'work' (/home/work/).
# e.g. my sample sources: /home/user/src/sample
# build result: /home/user/rpm
$ tree /home/user/src/sample
sample
├── main.c
└── packaging
└── sample.spec
$ docker run -it --rm --privileged \
-v /home/user/src/sample:/home/work/sample \
-v /home/user/rpm:/home/work/FED_ARTIK_ROOT/repos/24/armv7hl/RPMS \
-w /home/work/sample \
webispy/artik_devenv_f710 \
fed-artik-build
$ ls /home/user/rpm
sample.fc24.armv7hl.rpm
sample-debuginfo.fc24.armv7hl.rpm
To save time, you can download images that have already completed the mk-sbuild and apt update && apt upgrade tasks.
$ docker pull webispy/artik_devenv_u710
or
$ docker pull webispy/artik_devenv_u530
or
$ docker pull webispy/artik_devenv_u710cross
or
$ docker pull webispy/artik_devenv_u530cross
You can build a DEB package with following commands. The default user for docker image is set to 'work' (/home/work/).
# e.g. my sample sources: /home/user/src/sample
# build result: /home/user/src
$ tree /home/user/src/sample
sample
├── main.c
└── debian
├── changelog
├── compat
├── control
├── copyright
├── sample.install
└── rules
# 710 (arm64)
$ docker run -it --rm --privileged \
-v /home/user/src/sample:/home/work/sample \
-v /var/lib/schroot/chroots \
-w /home/work/sample \
webispy/artik_devenv_u710 \
sbuild --chroot xenial-arm64 --arch arm64
# 530 (armhf)
$ docker run -it --rm --privileged \
-v /home/user/src/sample:/home/work/sample \
-v /var/lib/schroot/chroots \
-w /home/work/sample \
webispy/artik_devenv_u530 \
sbuild --chroot xenial-armhf --arch armhf
# 710 (arm64) - cross compile
$ docker run -it --rm --privileged \
-v /home/user/src/sample:/home/work/sample \
-v /var/lib/schroot/chroots \
-w /home/work/sample \
webispy/artik_devenv_u710cross \
sbuild --chroot xenial-amd64-arm64 --host arm64
# 530 (armhf) - cross compile
$ docker run -it --rm --privileged \
-v /home/user/src/sample:/home/work/sample \
-v /var/lib/schroot/chroots \
-w /home/work/sample \
webispy/artik_devenv_u530cross \
sbuild --chroot xenial-amd64-armhf --host armhf
$ ls /home/user/src
sample/
sample_arm64.deb
sample-dbg_arm64.deb
sample.tar.gz
- https://github.com/SamsungARTIK/fedora-spin-kickstarts/releases
- https://github.com/SamsungARTIK/ubuntu-build-service
Copyright (c) 2018 Inho Oh [email protected]