All Projects → zephyrproject-rtos → docker-image

zephyrproject-rtos / docker-image

Licence: Apache-2.0 license
Docker image suitable for development and CI

Programming Languages

Dockerfile
14818 projects
shell
77523 projects

Projects that are alternatives of or similar to docker-image

Flagsmith Api
Feature flagging and remote config service. Host yourself or use our hosted version at https://www.flagsmith.com/
Stars: ✭ 223 (+232.84%)
Mutual labels:  ci
Webhookd
A very simple webhook server launching shell scripts.
Stars: ✭ 250 (+273.13%)
Mutual labels:  ci
Press
A continuous developement environment for Powershell Modules either via local development or leveraging GitHub and Github Actions
Stars: ✭ 21 (-68.66%)
Mutual labels:  ci
Screenshotsnanny
Android library helps take screenshots for publishing on Google Play Store.
Stars: ✭ 237 (+253.73%)
Mutual labels:  ci
Gg Shield Action
GitGuardian Shield GitHub Action - Find exposed credentials in your commits
Stars: ✭ 248 (+270.15%)
Mutual labels:  ci
Awesome Ci
Awesome Continuous Integration - Lot's of tools for git, file and static source code analysis.
Stars: ✭ 254 (+279.1%)
Mutual labels:  ci
Transport Eta
Twitch streamed 🎥playground repo, README speaks to you.
Stars: ✭ 223 (+232.84%)
Mutual labels:  ci
Reg2CI
Create System Center Configuration manager ConfigItem (CI's) from a .reg (Registry) or a .pol (Policy) file.
Stars: ✭ 74 (+10.45%)
Mutual labels:  ci
Infrabox
InfraBox is a cloud native continuous integration system
Stars: ✭ 249 (+271.64%)
Mutual labels:  ci
steps-carthage
Step for building dependencies with Carthage on Bitrise
Stars: ✭ 14 (-79.1%)
Mutual labels:  ci
Opendevops
CODO是一款为用户提供企业多混合云、一站式DevOps、自动化运维、完全开源的云管理平台、自动化运维平台
Stars: ✭ 2,990 (+4362.69%)
Mutual labels:  ci
Rok8s Scripts
Opinionated scripts for managing application deployment lifecycle in Kubernetes
Stars: ✭ 248 (+270.15%)
Mutual labels:  ci
npm-groovy-lint
Lint, format and auto-fix your Groovy / Jenkinsfile / Gradle files using command line
Stars: ✭ 124 (+85.07%)
Mutual labels:  ci
Ansible Role Awx
Ansible Role - AWX
Stars: ✭ 228 (+240.3%)
Mutual labels:  ci
changed-files
Github action to retrieve all (added, copied, modified, deleted, renamed, type changed, unmerged, unknown) files and directories.
Stars: ✭ 733 (+994.03%)
Mutual labels:  ci
Awesome Ci
List of Continuous Integration services
Stars: ✭ 2,737 (+3985.07%)
Mutual labels:  ci
Avito Android
Infrastructure of Avito android
Stars: ✭ 253 (+277.61%)
Mutual labels:  ci
prebuild-ci
Use CI to auto upload prebuilds
Stars: ✭ 17 (-74.63%)
Mutual labels:  ci
steps-fastlane
No description or website provided.
Stars: ✭ 33 (-50.75%)
Mutual labels:  ci
kubedock
Kubedock is a minimal implementation of the docker api that will orchestrate containers on a Kubernetes cluster, rather than running containers locally.
Stars: ✭ 79 (+17.91%)
Mutual labels:  ci

Zephyr Docker Images

This repository contains the Dockerfiles for the following images:

  • CI Image (ci): contains only the minimal set of software needed for CI operation.
  • Developer Image (zephyr-build): includes additional tools that can be useful for Zephyr development.

Developer Docker Image

Overview

The Developer docker image includes all tools included in the CI image as well as the additional tools that can be useful for Zephyr development, such as the VNC server for testing display sample applications.

These images include the Zephyr SDK, which supports building most Zephyr targets.

Installation

Using Pre-built Developer Docker Image

The pre-built developer docker image is available on both GitHub Container Registry (ghcr.io) and DockerHub (docker.io).

GitHub Container Registry (ghcr.io)

docker run -ti -v $HOME/Work/zephyrproject:/workdir \
           ghcr.io/zephyrproject-rtos/zephyr-build:latest

DockerHub (docker.io)

docker run -ti -v $HOME/Work/zephyrproject:/workdir \
           docker.io/zephyrprojectrtos/zephyr-build:latest

Building Developer Docker Image

The developer docker image can be built using the following command:

docker build -f Dockerfile.user --build-arg UID=$(id -u) --build-arg GID=$(id -g) -t zephyr-build:v<tag> .

It can be used for building Zephyr samples and tests by mounting the Zephyr workspace into it:

docker run -ti -v <path to zephyr workspace>:/workdir zephyr-build:v<tag>

Usage

Building a sample application

Follow the steps below to build and run a sample application:

west build -b qemu_x86 samples/hello_world
west build -t run

Building display sample applications

It is possible to build and run the native POSIX sample applications that produce display outputs by connecting to the Docker instance using a VNC client.

In order to allow the VNC client to connect to the Docker instance, the port 5900 needs to be forwarded to the host:

docker run -ti -p 5900:5900 -v <path to zephyr workspace>:/workdir zephyr-build:v<tag>

Follow the steps below to build a display sample application for the native POSIX board:

west build -b native_posix samples/display/cfb
west build -t run

The application display output can be observed by connecting a VNC client to localhost at the port 5900. The default VNC password is zephyr.

On a Ubuntu host, this can be done by running the following command:

vncviewer localhost:5900
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].