Files
hawkbit/docker/build
Denislav Prinov 9f7ca0a3ed hawkBit MCP server (#2871)
* hawkBit MCP server

Signed-off-by: Denislav Prinov <denislav.prinov@bosch.com>

* Fix STDIO authentication support. Change license headers. Inline Docker build

Signed-off-by: Denislav Prinov <denislav.prinov@bosch.com>

* Address PR review: refactor operation DTOs to sealed interfaces, make authentication validator conditional, and separate HTTP/STDIO client configurations

Signed-off-by: Denislav Prinov <denislav.prinov@bosch.com>

* Address PR review. Provide More context in tools description.

Signed-off-by: Denislav Prinov <denislav.prinov@bosch.com>

* Address PR Review

Signed-off-by: Denislav Prinov <denislav.prinov@bosch.com>

---------

Signed-off-by: Denislav Prinov <denislav.prinov@bosch.com>
2026-02-05 16:06:50 +02:00
..
2026-02-05 16:06:50 +02:00
2025-11-19 15:44:15 +02:00
2025-04-24 16:40:55 +03:00
2025-09-02 16:08:14 +03:00

hawkBit Docker Build

This directory contains docker files for building hawkBit docker with two build types:

  • release - uses officially released hawkBit versions, downloading them from https://repo1.maven.org
  • development/dev - uses the local maven repository with built by developer (or just downloaded from any maven repository) hawkBit applications

Build overview

Building images supports the following build arguments (i.e. ARG-s which could be passed using --build-arg):

  • JAVA_VERSION - [OPTIONAL, if not set a default is used] the Java version of the eclipse-temurin jre-alpine base image to be used.
  • HAWKBIT_APP - [OPTIONAL, if not set hawkbit-update-server is used] the application to be build. Currently, there is just hawkbit-update-server but in future, if hawkBit is split to micro-services, there could be different micro-service apps.
  • HAWKBIT_VERSION - [OPTIONAL, if not set a default, should be the last officially released version, is used] the application version
  • CONTAINER_PORT - [OPTIONAL, if not set 8080 is used] on which the app opens the http server (if available)

Additionally, tge development builds shall be started with docker build context the local maven repository

Build docker images

Docker image could be build, for example, with (fixed version 0.4.1 is just an example):

docker build --build-arg HAWKBIT_APP=hawkbit-update-server --build-arg HAWKBIT_VERSION=0.4.1 -t hawkbit_update_server:0.4.1 . -f Dockerfile

or just by:

docker build --build-arg HAWKBIT_VERSION=0.4.1 -t hawkbit_update_server:0.4.1 .

having that docker uses by default Dockerfile and the hawkbit-update-server is the default HAWKBIT_APP.

To build standard development docker images, e.g. snapshot based, you could use something like:

docker build -t hawkbit_update_server:0-SNAPSHOT -f Dockerfile_dev ~/.m2/repository

Note that here you have to use your maven repository containing the hawkBit app as docker build context, in the example case ~/.m2/repository