Skip to content

Custom container image

Depending on the changes you'd like to make, you may choose to create a variant of Control Center based on the upstream version.

Warning

Creating a custom variant is limited to people with prior development experience. We recommend that most, if not all, users should use the standard container image.

This is the most reliable way to make changes over time, as well as regularly synchronise the changes with the upstream.

Custom Image

Custom derivation of Control Center
FROM ghcr.io/vatsim-scandinavia/control-center:latest

# Make your customisations here
...

Example

Custom Theme

You can customise the theme by setting environment variables and running /container/theme/build.sh:

Custom theme in Control Center
FROM ghcr.io/vatsim-scandinavia/control-center:latest

# Add any relevant theming environment variables here
ENV VITE_THEME_PRIMARY="#222222"
# ...

# Make the theme build script executable and run it
RUN chmod +x container/theme/build.sh && container/theme/build.sh