Note

This post is a thought. It's a short note that I make about someone else's content online. Learn more about the process thoughts

Here's my thought on ๐Ÿ’ญ casey/just: ๐Ÿค– Just a command runner


I think just, might just be the thing I have been looking for. I've been looking for some ci/cd that I can host myself, but everything looks pretty big, so for now I am going to use just as my task runner.

I installed with installer.


curl https://i.wayl.one/casey/just | bash

I set up my devtainer builds with just. Here is my justfile, yes you just need the cli and a file named justfile.


default: base alpine slim
base: build deploy
alpine: build-alpine deploy-alpine
slim: build-slim deploy-slim

build:
    podman build -t registry.wayl.one/devtainer:latest .
deploy:
    podman push registry.wayl.one/devtainer

build-alpine:
    podman build -f docker/Dockerfile.alpine -t registry.wayl.one/devtainer:alpine .
deploy-alpine:
    podman push registry.wayl.one/devtainer:alpine

build-slim:
    podman build -f docker/Dockerfile.slim -t registry.wayl.one/devtainer:slim .
deploy-slim:
    podman push registry.wayl.one/devtainer:slim

This post was a thought by Waylon Walker see all my thoughts at https://waylonwalker.com/thoughts