We are thrilled to announce that you can now build Docker images from your local source code directly in Okteto Cloud, all powered by BuildKit. Another reason to remove Docker and Kubernetes from your laptop and develop directly in Kubernetes!
Why should I build my images on remote?
BuildKit is one of the most amazing projects out there. It lets us build Docker images faster and more securely than ever. But no matter how fast BuildKit is, if you are building Docker images, you still need to pull your base images and push the new images to the registry before updating your applications. Depending on your network connection, this process can take minutes. And you need Docker running locally, consuming CPU cycles, memory and battery.
Our new BuildKit as Service feature lets you build your images directly in Okteto Cloud, dramatically cutting down your build times, independently of your network connection. And since it’s powered by BuildKit, it’ll just work with your existing Dockerfiles and Docker registries.
How do I use it?
If you haven’t done it yet, you need to install the Okteto CLI and run okteto login. From that moment, you get full access to run remote builds in Okteto Cloud via the okteto build command: