2023-11

2023-11-02 RudeOps newsletter

Helix, A Kakoune / Neovim inspired editor, written in Rust

On ouvre le bal avec Julien R., sysadmin dans une boîte française, qui nous fait découvrir Helix, un terminal-based editor inspiré par Kakoune et Neovim et qui intègre tree-sitter pour la syntaxe et la mise en forme.

C’est écrit en Rust et il y a un repo dédié sur Github.

Merci pour le partage Julien !

jless (a command-line JSON viewer designed for reading, exploring, and searching through JSON data)

On continue avec le mystérieux JMB qui nous écrit pratiquement tous les 15 jours (coeur avec les doigts pour toi mec) et qui cette fois-ci nous présente jless, un outil en ligne de commande archi pratique qui permet de lire et d’explorer vos fichiers JSON.

Alors on l’a testé et effectivement ça fait le taffe et c’est archi léger et intuitif. Merci JMB !

How we reduced our docker build times by 40%

Buildkit vs Buildx +++++++++++++++++++++++++==

Lets start by explaining Buildkit and Buildx as both terms are often used interchangeably but they are not the same. Before writing this post, I did not fully understand the difference between both either.

Builkit

Buildkit is the improved backend to replace the legacy Docker builder. It is packaged with Docker as of 2018 and became the default builder as of docker engine 23.0.

Buildx

Buildx is a plugin for Docker that enables you to use the full potential of Buildkit in Docker.

It was created because Buildkit supports many new configuration options, that cannot all be integrated into the docker build command in a backwards compatible way.

On top from building images, Buildx supports managing multiple builders.

This can be useful in CI to define scoped environments, with distinct configuration, as they do not modify the shared Docker daemon.

You can get started with Buildx as follows:

docker buildx create --bootstrap --name builder
docker buildx use builder