Developer Guides ‐ Building your own Docker images - MarechJ/hll_rcon_tool GitHub Wiki
🧭 You are here : Wiki home / Developer Guides / Building your own Docker images
Docker images are hosted on Docker Hub, but if you're running a fork, have made local modifications, are running CPU architecture we don't have pre-built images for, or the release you want isn't available for some reason, you can build your images locally.
Set environment variables
If you don't already have a .env
file created, use default.env
to make a template, otherwise the build will fail due to unset environment variables:
cp default.env .env
If you don't have a .env
, you must set the following environment variables to something, or the build will fail with an error that looks like invalid tag ":": invalid reference format
(just use a copy of default.env
):
BACKEND_DOCKER_REPOSITORY=
FRONTEND_DOCKER_REPOSITORY=
TAGGED_VERSION=
Create a Docker Compose file
Refer to the installation guide if you do not already have a compose.yaml
file created.
Build the images
Building the images can take a significant amount of time and you must be connected to the internet for it to fetch resources.
docker compose build
Run it
Once the images are built (which can take a considerable amount of time depending on your hardware specs), and once it's configured properly (see the installation part), then simply enter this command to create the containers :
docker compose up -d --remove-orphans
If you don't want to use docker compose
(which you really should, it's just easier), then you would have to properly set/create/run the Docker containers yourself. Please consult Docker's documentation.