This has been hard forked from the upstream: https://github.com/onedr0p/containers
An opinionated collection of container images for my personal use
Welcome to my container images, if looking for a container start by browsing the GitHub Packages page for this repo's packages.
The goal of this project is to support semantically versioned, rootless, and multiple architecture containers for various applications.
It also adheres to a KISS principle, logging to stdout, one process per container, no s6-overlay and all images are built on top of Alpine or Ubuntu.
The containers built here do not use immutable tags, as least not in the more common way you have seen from linuxserver.io or Bitnami.
We do take a similar approach but instead of appending a -ls69
or -r420
prefix to the tag we instead insist on pinning to the sha256 digest of the image, while this is not as pretty it is just as functional in making the images immutable.
Container | Immutable |
---|---|
ghcr.io/crutonjohn/sonarr:rolling |
❌ |
ghcr.io/crutonjohn/sonarr:3.0.8.1507 |
❌ |
ghcr.io/crutonjohn/sonarr:rolling@sha256:8053... |
✅ |
ghcr.io/crutonjohn/sonarr:3.0.8.1507@sha256:8053... |
✅ |
If pinning an image to the sha256 digest, tools like Renovate support updating the container on a digest or application version change.
To run these containers as non-root make sure you update your configuration to the user and group you want.
networks:
sonarr:
name: lidarr
external: true
services:
sonarr:
image: ghcr.io/crutonjohn/lidarr:rolling
container_name: lidarr
user: 65534:65534
# ...
apiVersion: apps/v1
kind: Deployment
metadata:
name: lidarr
# ...
spec:
# ...
template:
# ...
spec:
# ...
securityContext:
runAsUser: 65534
runAsGroup: 65534
fsGroup: 65534
fsGroupChangePolicy: OnRootMismatch
# ...
Some applications do not support defining configuration via environment variables and instead only allow certain config to be set in the command line arguments for the app. To circumvent this, for applications that have an entrypoint.sh
read below.
-
First read the Kubernetes docs on defining command and arguments for a Container.
-
Look up the documentation for the application and find a argument you would like to set.
-
Set the argument in the
args
section, be sure to includeentrypoint.sh
as the first arg and any application specific arguments thereafter.args: - /entrypoint.sh - --port - "8080"
For applications that need to have persistent configuration data the config volume is hardcoded to /config
inside the container. This is not able to be changed in most cases.
Each Image will be built with a rolling
tag, along with tags specific to it's version. Available Images Below
Container | Channel | Image |
---|---|---|
actions-runner | stable | ghcr.io/crutonjohn/actions-runner |
deemix-latest | latest | ghcr.io/crutonjohn/deemix-latest |
lidarr-plugins | plugins | ghcr.io/crutonjohn/lidarr-plugins |
Containers here can be deprecated at any point, this could be for any reason described below.
- The upstream application is no longer actively developed
- The upstream application has an official upstream container that follows closely to the mission statement described here
- The upstream application has been replaced with a better alternative
- The maintenance burden of keeping the container here is too bothersome
Note: Deprecated containers will remained published to this repo for 6 months after which they will be pruned.
- A lot of inspiration and ideas are thanks to the hard work of hotio.dev and linuxserver.io contributors.
- Credit to @onedr0p for building all of the automation and workflows to publish and build containers. Thank you.