1

I want to use yocto to build a customized image for an embedded system and I want to create a docker image from this custom image. Usually in docker one would build a image using a parent image e.g. FROM ubuntu:xenial. However, in this case there is no official image available, so I need to create a new base image. I looked up the docs for creating a base image but it doesn't explain the whole process. I would appreciate if anyone could give me a hint or a link for a tutorial or something.

Thank you!

1
  • I am also looking for similar problem resolution so if you found this can you please provide answer on this : stackoverflow.com/questions/79277013/… @Gustavo Commented Dec 13, 2024 at 22:54

1 Answer 1

1

Yes that is possible. A dockerfile would look like that:

FROM scratch
ADD app-container-image-python3-data-collector-container-x86-64.tar.bz2 /

But I would recommend having a look at meta-virtualization and oci-images, which you can generate directly and e.g. upload to docker.io.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.