fix: use a glibc base image for sqlite-jdbc
Alpine/musl cannot load sqlite-jdbc's bundled native library, so the container failed at startup. Switch the runtime image to eclipse-temurin:21-jre-jammy and verify the image end-to-end, including transcoding, against a read-only root filesystem. The smoke fixture now uses a 192 kbps source so the maxBitRate check actually proves transcoding instead of direct play.
This commit is contained in:
1 parent
25331ec0e1
commit
7d98bc1d3a
3 files changed
+14
-9
No files matched your search
@@ -165,7 +165,7 @@ Build a lightweight, self-hosted **OpenSubsonic-compatible music server** in **K
|
||||
|
||||
## 2. Tech Stack & Dependencies
|
||||
|
||||
- **Language & runtime:** Kotlin 2.x on JVM 21 (`eclipse-temurin:21-jre-alpine`)
|
||||
- **Language & runtime:** Kotlin 2.x on JVM 21 (`eclipse-temurin:21-jre-jammy`)
|
||||
- **Build:** Gradle Kotlin DSL (`build.gradle.kts`), ShadowJar fat JAR
|
||||
- **Web:** Ktor Server (Netty)
|
||||
- `ktor-server-core`, `ktor-server-netty`
|
||||
@@ -626,7 +626,7 @@ Cover extraction order: embedded APIC frame -> `cover.jpg`/`folder.jpg`/`front.j
|
||||
|
||||
### 9.1 Image
|
||||
|
||||
- Multi-stage Dockerfile: Gradle build -> `eclipse-temurin:21-jre-alpine` with `ffmpeg` installed.
|
||||
- Multi-stage Dockerfile: Gradle build -> glibc-based `eclipse-temurin:21-jre-jammy` with `ffmpeg` installed (Alpine/musl is unsupported by sqlite-jdbc's bundled native library).
|
||||
- Runtime flags: `-XX:+UseSerialGC -Xmx256m` (adjustable via Helm).
|
||||
- Non-root user (UID 10001), read-only root filesystem, `/tmp` as `emptyDir`, `/data` as PVC.
|
||||
- Image: `gitea.tap-tap.win/tap-tap/audiomanager:<tag>` (registry paths must be lowercase).
|
||||
|
||||
Reference in new issue
Block a user