Skip to content

Commit 8906b57

Browse files
committed
Rebase to noble
1 parent 75c93a1 commit 8906b57

File tree

4 files changed

+25
-4
lines changed

4 files changed

+25
-4
lines changed

Dockerfile

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22

3-
FROM ghcr.io/linuxserver/baseimage-ubuntu:jammy
3+
FROM ghcr.io/linuxserver/baseimage-ubuntu:noble
44

55
# set version label
66
ARG BUILD_DATE
@@ -9,9 +9,12 @@ ARG WHISPER_VERSION
99
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
1010
LABEL maintainer="thespad"
1111

12-
ENV HOME=/config
12+
ENV HOME=/config \
13+
DEBIAN_FRONTEND="noninteractive" \
14+
TMPDIR="/run/whisper-temp"
1315

1416
RUN \
17+
echo "**** install packages ****" && \
1518
apt-get update && \
1619
apt-get install -y --no-install-recommends \
1720
build-essential \
@@ -26,6 +29,8 @@ RUN \
2629
wheel && \
2730
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/ubuntu/ \
2831
"wyoming-faster-whisper==${WHISPER_VERSION}" && \
32+
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
33+
echo "**** cleanup ****" && \
2934
apt-get purge -y --auto-remove \
3035
build-essential \
3136
python3-dev && \

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ When using the `gpu` tag with Nvidia GPUs, make sure you set the container to us
7474

7575
For more information see the [faster-whisper docs](https://github.com/SYSTRAN/faster-whisper),
7676

77+
## Read-Only Operation
78+
79+
This image can be run with a read-only container filesystem. For details please [read the docs](https://docs.linuxserver.io/misc/read-only/).
80+
81+
7782
## Usage
7883

7984
To help you get started creating a container from this image you can either use docker-compose or the docker cli.
@@ -131,6 +136,7 @@ Containers are configured using parameters passed at runtime (such as those abov
131136
| `-e WHISPER_BEAM=1` | Number of candidates to consider simultaneously during transcription. |
132137
| `-e WHISPER_LANG=en` | Language that you will speak to the add-on. |
133138
| `-v /config` | Local path for Whisper config files. |
139+
| `--read-only=true` | Run container with a read-only filesystem. Please [read the docs](https://docs.linuxserver.io/misc/read-only/). |
134140

135141
## Environment variables from files (Docker secrets)
136142

@@ -293,4 +299,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
293299

294300
## Versions
295301

302+
* **18.07.24:** - Rebase to Ubuntu Noble.
303+
* **19.05.24:** - Bump CUDA to 12 on GPU branch.
304+
* **08.01.24:** - Add GPU branch.
296305
* **25.11.23:** - Initial Release.

readme-vars.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ project_url: "https://github.com/SYSTRAN/faster-whisper"
66
project_logo: "https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/faster-whisper-logo.png"
77
project_blurb: "[{{ project_name|capitalize }}]({{ project_url }}) is a reimplementation of OpenAI's Whisper model using CTranslate2, which is a fast inference engine for Transformer models. This container provides a Wyoming protocol server for faster-whisper."
88
project_lsio_github_repo_url: "https://github.com/linuxserver/docker-{{ project_name }}"
9-
project_blurb_optional_extras_enabled: false
109

1110
# supported architectures
1211
available_architectures:
@@ -37,6 +36,8 @@ opt_param_env_vars:
3736
- { env_var: "WHISPER_BEAM", env_value: "1", desc: "Number of candidates to consider simultaneously during transcription." }
3837
- { env_var: "WHISPER_LANG", env_value: "en", desc: "Language that you will speak to the add-on." }
3938

39+
readonly_supported: true
40+
4041
# application setup block
4142
app_setup_block_enabled: true
4243
app_setup_block: |
@@ -48,4 +49,7 @@ app_setup_block: |
4849
4950
# changelog
5051
changelogs:
52+
- { date: "18.07.24:", desc: "Rebase to Ubuntu Noble." }
53+
- { date: "19.05.24:", desc: "Bump CUDA to 12 on GPU branch." }
54+
- { date: "08.01.24:", desc: "Add GPU branch." }
5155
- { date: "25.11.23:", desc: "Initial Release." }
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#!/usr/bin/with-contenv bash
22
# shellcheck shell=bash
33

4+
mkdir -p "/run/whisper-temp"
5+
46
# permissions
57
lsiown -R abc:abc \
6-
/config
8+
/config \
9+
/run/whisper-temp

0 commit comments

Comments
 (0)