Commit Graph

33 Commits (main)

Author SHA1 Message Date
Wouter Born a7da1746ed
Add openHAB 5 support (#451)
* Use Java 21 with openHAB 5
* Remove linux/arm/v7 support
* Update versions in build help
* Install Temurin when Debian does not have an installation package in its repositories for an OpenJDK version

Signed-off-by: Wouter Born <github@maindrain.net>
2024-12-16 23:02:23 +01:00
Wouter Born c423300653
Upgrade to Debian 12.8 (#447)
See: https://www.debian.org/News/2024/20241109

Signed-off-by: Wouter Born <github@maindrain.net>
2024-11-12 19:27:36 +01:00
Wouter Born 0d537ffcc2
Upgrade to Debian 12.7 (#445)
Regular security support has ended for Debian 11.

See: https://www.debian.org/News/2024/20240814

Signed-off-by: Wouter Born <github@maindrain.net>
2024-10-04 20:56:07 +02:00
Wouter Born 1d835ac402
Upgrade to Debian 11.9 (#440)
See: https://www.debian.org/News/2024/2024021002

Signed-off-by: Wouter Born <github@maindrain.net>
2024-03-03 11:59:17 +01:00
mueller-ma e540a3698a
Lint with hadolint (#430)
Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
2023-11-12 10:27:04 +01:00
mueller-ma bf50d439d9
Migrate to org.opencontainers.* labels (#431)
Closes #427

Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
2023-11-04 11:40:13 +01:00
Wouter Born b6e07b8531
Upgrade to Debian 11.8 (#429)
See: https://www.debian.org/News/2023/2023100702

Signed-off-by: Wouter Born <github@maindrain.net>
2023-10-30 18:20:36 +01:00
Wouter Born 69c8d6d054
Fix JVM crashes and insufficient memory issues (#423)
* Replace Temurin with OpenJDK from Debian repos which does not crash when using arm64 image on the Raspberry Pi 3
* Switch back to Debian 11 which consumes less memory

Fixes #416
Reverts #422

Signed-off-by: Wouter Born <github@maindrain.net>
2023-07-08 21:51:08 +02:00
Wouter Born 12591b80b1
Upgrade to Debian 12.0 (#422)
Signed-off-by: Wouter Born <github@maindrain.net>
2023-06-25 11:16:01 +02:00
Wouter Born d2689ef008
Upgrade base images (#420)
* Alpine to 3.18
* Debian to 11.7

Signed-off-by: Wouter Born <github@maindrain.net>
2023-05-23 20:20:59 +02:00
Wouter Born 1c66d96322
Upgrade to Debian 11.6 (#414)
See: https://www.debian.org/News/2022/20221217

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-24 13:01:21 +01:00
Wouter Born fb4c8c72b3
Use Java 17 with openHAB 4 (#413)
Related to openhab/openhab-core#2994

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-19 20:42:07 +01:00
Wouter Born 661685c6d4
Use JFrog URLs (#407)
Signed-off-by: Wouter Born <github@maindrain.net>
2022-10-09 22:11:55 +02:00
Wouter Born bf79a32c8d
Upgrade to Debian 11.5 (#404)
See: https://www.debian.org/News/2022/2022091002

Signed-off-by: Wouter Born <github@maindrain.net>
2022-10-02 13:25:14 +02:00
Wouter Born 8c544571a9
Upgrade base images (#398)
* Alpine to 3.16.1
* Debian to 11.4

Signed-off-by: Wouter Born <github@maindrain.net>
2022-08-08 09:40:25 +02:00
Wouter Born a5e9e8cf5f
Replace Zulu with Temurin JDK and prevent env var issues (#394)
The Temurin JDK is easier to install because it supports all architectures using an APT repo.
It is also more open source compared to the Zulu JDK, for building it yourself, see: https://github.com/adoptium/temurin-build

With these changes the JAVA_HOME, JAVA_VERSION, OPENHAB_VERSION environment variables are no longer exposed/used to prevent upgrade issues when the container is managed by UIs that persist all env default values like Portainer.

Closes #393

Signed-off-by: Wouter Born <github@maindrain.net>
2022-06-15 13:56:17 +02:00
Wouter Born 5f844f3e96
Upgrade to Zulu JDK 11.0.15 and add Zulu JDK 17.0.3 URLs (#387)
* Upgrade to Zulu JDK 11.0.15
* Add Zulu JDK 17.0.3 URLs
* Use `arch` to determine architecture

Signed-off-by: Wouter Born <github@maindrain.net>
2022-04-27 10:36:17 +02:00
Wouter Born 7ed13e0b59 Upgrade base images and Zulu JDK
* Alpine to 3.15.3
* Debian to 11.3
* Zulu JDK to 11.0.14.1

Signed-off-by: Wouter Born <github@maindrain.net>
2022-04-01 22:37:59 +02:00
Wouter Born 1c118dc790 Upgrade to Zulu JDK 11.0.14
Signed-off-by: Wouter Born <github@maindrain.net>
2022-01-27 10:24:49 +01:00
Wouter Born be4db53eea
Add iputils-ping to Debian image (#376)
It only adds 50 kB to the image and ping is also supported in the Alpine image.

Fixes #374

Signed-off-by: Wouter Born <github@maindrain.net>
2021-12-21 23:00:10 +01:00
Wouter Born 85c3727d10
Upgrade to Debian 11.2 (#375)
Signed-off-by: Wouter Born <github@maindrain.net>
2021-12-21 21:01:36 +01:00
Wouter Born 5e2aebe2fc
Upgrade base images and build tools (#369)
Updates:

* Alpine to 3.14.3
* Debian to 11.1
* binfmt to tonistiigi/binfmt:qemu-v6.1.0 (required for building Debian 11 ARM images with buildx)

Furthermore the [pushrm](https://github.com/christian-korneck/docker-pushrm) Docker CLI plugin is now used for updating the README on Docker Hub.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-13 17:26:58 +01:00
Wouter Born 21edb6f5a7
Upgrade Zulu JDK (#367)
Updates the Zulu JDK to 11.0.13

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-01 22:44:59 +01:00
Wouter Born bfd88df0f5
Use Debian 10.11 base image (#366)
Signed-off-by: Wouter Born <github@maindrain.net>
2021-10-12 19:02:19 +02:00
Wouter Born ff9f3213e2
Upgrade Zulu JDK and base images (#365)
Updates:

* Zulu JDK to 11.0.12
* Alpine to 3.14.2
* Debian to 10.10

Signed-off-by: Wouter Born <github@maindrain.net>
2021-08-31 23:53:38 +02:00
Wouter Born 9258eb4139
Remove OH2 support from build scripts (#363)
Signed-off-by: Wouter Born <github@maindrain.net>
2021-06-28 16:46:56 +02:00
Wouter Born b96cb8a4bc
Add EXTRA_SHELL_OPTS environment variable (#359)
Allows for customizing the shell options used by the entrypoint script.
E.g. set it to "+x" to disable the trace logging or set it to "-v" to also print shell input lines.

Fixes #346

Signed-off-by: Wouter Born <github@maindrain.net>
2021-05-15 23:38:40 +02:00
Wouter Born fb8304c311
Upgrade Zulu JDKs and base images (#357)
Updates:

* Zulu JDKs to 8.0.292, 11.0.11
* Alpine to 3.13.5
* Debian to 10.9

Signed-off-by: Wouter Born <github@maindrain.net>
2021-05-11 16:23:54 +02:00
Wouter Born aa5ea53782
Download milestones and releases using openHAB redirect (#356)
Related to openhab/openhab-distro#1256

Signed-off-by: Wouter Born <github@maindrain.net>
2021-03-27 15:00:10 +01:00
Mathias Vanden Auweele e519e4337e
Added healthcheck in Alpine and Debian Dockerfile (#351)
Signed-off-by: Mathias Vanden Auweele <mathias.vanden.auweele@gmail.com> (github: VBP8501)
2021-02-17 22:52:31 +01:00
Wouter Born f51db0499d
Fix TLS root CA certificates problem (#354)
Fixes #350

Signed-off-by: Wouter Born <github@maindrain.net>
2021-02-17 22:06:44 +01:00
Wouter Born 3af592ffc8
Upgrade Zulu JDKs and base images (#352)
Updates:

* Zulu JDKs to 8.0.282, 11.0.10
* Alpine to 3.13.1
* Debian to 10.8

Signed-off-by: Wouter Born <github@maindrain.net>
2021-02-15 23:01:03 +01:00
Wouter Born 69b2534052
Rework build scripts (#336)
* Make Dockerfiles more generic so they can be reused for all openHAB versions
* Determine version information automatically based on openhab-distro tags/branches
* Merge helper scripts into helper-functions
* Add "build" script to simplify building multiple versions or a specific distro using BuildKit
* Add GitHub Actions workflows for PR builds

Fixes #318

Signed-off-by: Wouter Born <github@maindrain.net>
2021-01-01 16:00:25 +01:00