GithubHelp home page GithubHelp logo

hypriot / image-builder-odroid-xu4 Goto Github PK

View Code? Open in Web Editor NEW
16.0 16.0 5.0 65 KB

Build SD card image for ODROID XU4

Home Page: http://blog.hypriot.com/post/how-to-get-docker-working-on-your-favourite-arm-board-with-hypriotos/

License: MIT License

Makefile 7.23% Shell 27.98% Ruby 64.79%

image-builder-odroid-xu4's Introduction

rpi-golang

Docker image containing GOLANG that is compatible to the Raspberry Pi.

Build the Docker Image

make build

Run the Docker Image and get version of installed GOLANG

make version

Push Docker Image to Docker Hub

  • First, use a docker login with username, password and email address
  • Second, push Docker Image to the official Docker Hub
make push

image-builder-odroid-xu4's People

Contributors

dieterreuter avatar mathiasrenner avatar mevatron avatar stefanscherer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

image-builder-odroid-xu4's Issues

Update tools to "Barbossa"

This is the task list to update to update the XU4 repo to v0.8.0 Barbossa like the image-builder-rpi repo. We should do this in multiple small pull requests. The image-builder-rpi repo should be used as a base to look how we want to structure all the steps.

There is no specific order. We can add simple things first and create a lower pre-release version <0.8.0.

  • rename to hypriotos-odroid-xu4-vX.X.X.img.zip, fixed with #10 by @mevatron
  • update docker-compose, #12
  • update docker-machine, #12
  • update docker-engine, #12
  • update rootfs, #12
  • update device-init
  • install docker images for consul + swarm
  • install cluster-lab
  • check for a more up to date kernel > 3.10
  • add FAT partition for flash / device-init, do we need some similar tar like for rpi in image-builder-raw repo?

Add FAT partition

I have flashed this image

flash http://oph.mdrjr.net/meveric/images/Jessie/Debian-Jessie-1.0~RC2-20151123-XU3.img.xz

and saw a FAT partition for the /boot partition. So users can easily access the /boot/boot.ini as well as our /boot/device-init.yaml before the first boot.

We should add the FAT partition.

Next steps?

What are the next steps for HypriotOS on XU4?

Problem starting swarm agent

I tried to create a swarm with the XU4 and v0.1.0 of the SD card image, but I get an error starting the container memory.swappiness: invalid argument:

$ docker-machine create -d generic --swarm --swarm-discovery token://$TOKEN --swarm-image hypriot/rpi-swarm:latest --generic-ip-address 192.168.1.205 --generic-ssh-user pirate xu4 
Running pre-create checks...
Creating machine...
(xu4) No SSH key specified. Connecting to this machine now and in the future will require the ssh agent to contain the appropriate key.
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with debian...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Configuring swarm...
Error creating machine: Error running provisioning: Error while starting container: 500 Internal Server Error: Cannot start container d62d5939d5975c4f3b08840fb550895a9e76b8d516b4052a627be48021aa0936: [9] System error: write /sys/fs/cgroup/memory/docker/d62d5939d5975c4f3b08840fb550895a9e76b8d516b4052a627be48021aa0936/memory.swappiness: invalid argument

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.