Minimal docker : run your NodeJS app in <25mb of an image

Managing Docker images might become a bit of a painful experience, especially when looking at your storages: very “simple” images like node end up quite fat and contribute to sucking up a good chunck of your HDD.

At the same time, the most painful moment with Docker images is, at least for me, when you want to pull and run a brand new image, not available on your machine (or production servers, not much difference): you will need to wait until the whole image gets downloaded before being able to play around with it1.

At the end of the day, one thing is clear: we’d like to shrink images as much as possible. Turns out, the easiest solution is, as often, the simplest one: start small, end small.

There are plenty of resources on limiting the size of your images / containers, but today I am going to start with this very simple approach.

Read on →

The MySQL ARCHIVE storage engine

Ever wondered how you can treat MySQL as an append-only storage? Enter the ARCHIVE storage engine.

Read on →

Are “considered harmful” lists considered harmful?

In the past weeks I’ve been thinking of collecting a list of posts of the “X considered harmful” articles, so yesterday I just created a simple github repo with the very first few articles I’ve been able to find (interesting).

Read on →

How to test 3rd party hooks and webservices locally

In the past few months I have spent a bit of my spare time helping the Namshi team build a very small NodeJS app to trigger builds of our projects through Github.

Read on →

4 unix goodies I cannot live without

In the past few years I managed to discover some nice unix / unix-inspired utilities that are, simply, life-savers.

Not sure if you already know all the stuff here, but I hope you’ll be able to find this brief list useful!

Read on →

Using gists like git repositories

In the past couple of years I’ve been using gist to take notes and stash around small utility scripts I’ve had to run once in a while.

For all of this time, though, I didn’t really take advantage of the fact that each gist is an actual git repo, which gives you a lot of flexibility the online interface doesn’t bring to the table.

Read on →

Married!

Generating badges / shields with NodeJS

In the last post, I wrote a simple example to be able to generate SVGs through RaphaelJS on the server.

Now I would like to showcase how to accomplish a similar task – generating badges – again with a simple NodeJS server.

Read on →

Generating SVGs with RaphaelJS and NodeJS

One of these mornings, in need of generating images with “copyable” text with Node, I had the chance to play around with RaphaelJS.

Read on →

My (nice) experience with Golang

For the past six months (right after the DockerCon) I have been constantly taking some time out to play around with Go, trying to understand why a lot of new tools were being written in this interesting language, especially in the DevOps world.

In the last few days we published our first open source library written in go, godo, and I wanted to share my impression of the language and the platform.

Read on →
Archives