Category Tech

Better Dockerfiles

There are things we all know we should do but quite often don't bother with. Using multi-stage Dockerfiles to reduce the size of images is one of them; not running containers as root is another.

Earlier on this week, my team ran a hack day around standardising our golden path for deploying applications to our internal Kubernetes clusters. As part of this we were going to create a boiler plate repo that a development squad could fork and replace with their own application. We needed a mock application that could sit in place, and so naturally we wrote one with Golang.

Injecting Golang variables at build time

Sometimes you want variables to be baked in to your application, but not present in source control. This is one such method in Golang

Just a quick one to share something useful I learnt about injecting variable values at build time in Golang. The usecase for this was adding a Slack webhook URL to a GUI application without either shipping the webhook URL in the code, or expecting the end user to set an ENV VAR with the webhook URL in it.

Writing a personal whois API

Making use of Golang, Lambda, and API Gateway

A while back I wrote a whois API to contain some basic information about me. It was written in Node.JS, and had different JSON responses based on the path you requested (e.g. /name, /job, etc.). The code is here if you are interested in how the first iteration of this project worked. It was hosted on an intentionally-unnamed SaaS provider that just wasn’t up to scratch.

Learning C

My latest quest on the adventure of becoming truly t-shaped

I was going to come up with a witty title for this blog post, but my brain is fried from everything that’s been injected into it.

Containers Homework

Every day is a school day. Why do the bare minimum when doing something different is so much fun?

At work, we have several “working groups” centred around specific technologies we use. The purpose of these is to have a way for us lowly engineers to have input into our “tech menu” that we work with. There are several software-engineering-focused groups (JVM, Nodejs, etc.) but so far only one that relates to operations in a broad sense: the container working group.