alfred_new (sha256:a1f0f1562e3e2dabe85f83bbeef8bde0a99036bde8cbc24bda46455966fdcf0d)

Published 2026-10-01 21:37:39 +02:00 by simon

Installation

docker pull git-ui.haerer.cloud/simon/alfred_new@sha256:a1f0f1562e3e2dabe85f83bbeef8bde0a99036bde8cbc24bda46455966fdcf0d
sha256:a1f0f1562e3e2dabe85f83bbeef8bde0a99036bde8cbc24bda46455966fdcf0d

Image layers

# debian.sh --arch 'amd64' out/ 'bookworm' '@1789689600'
WORKDIR /app
RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends libstdc++6 openssl libncurses5 locales ca-certificates ffmpeg curl procps && apt-get clean && rm -rf /var/lib/apt/lists/* && sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen # buildkit
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US:en
ENV LC_ALL=en_US.UTF-8
ARG PIPER_TARBALL_URL=https://github.com/rhasspy/piper/releases/download/v1.2.0/piper_amd64.tar.gz
ARG PIPER_TARBALL_SHA256=467c17935d2a22dcce9dc9e08ba07485e29be813097e7cf08c5627aa09d32e42
ARG PIPER_VOICE_URL=https://huggingface.co/rhasspy/piper-voices/resolve/1162a9173d0ce503555aed757976b7a9912eae4c/de/de_DE/thorsten/medium/de_DE-thorsten-medium.onnx
ARG PIPER_VOICE_ONNX_MD5=a129b00fb3078df43c96bab6c94535c0
ARG PIPER_VOICE_CONFIG_MD5=843a7bd7272724f750534dd5a26d1aad
RUN |5 PIPER_TARBALL_URL=https://github.com/rhasspy/piper/releases/download/v1.2.0/piper_amd64.tar.gz PIPER_TARBALL_SHA256=467c17935d2a22dcce9dc9e08ba07485e29be813097e7cf08c5627aa09d32e42 PIPER_VOICE_URL=https://huggingface.co/rhasspy/piper-voices/resolve/1162a9173d0ce503555aed757976b7a9912eae4c/de/de_DE/thorsten/medium/de_DE-thorsten-medium.onnx PIPER_VOICE_ONNX_MD5=a129b00fb3078df43c96bab6c94535c0 PIPER_VOICE_CONFIG_MD5=843a7bd7272724f750534dd5a26d1aad /bin/sh -c curl --fail --location --silent --show-error -o /tmp/piper_amd64.tar.gz "$PIPER_TARBALL_URL" && echo "$PIPER_TARBALL_SHA256 /tmp/piper_amd64.tar.gz" | sha256sum -c - && tar -xzf /tmp/piper_amd64.tar.gz -C /opt && rm /tmp/piper_amd64.tar.gz && mkdir -p /opt/piper/voices && curl --fail --location --silent --show-error -o /opt/piper/voices/de_DE-thorsten-medium.onnx "$PIPER_VOICE_URL" && curl --fail --location --silent --show-error -o /opt/piper/voices/de_DE-thorsten-medium.onnx.json "$PIPER_VOICE_URL.json" && echo "$PIPER_VOICE_ONNX_MD5 /opt/piper/voices/de_DE-thorsten-medium.onnx" | md5sum -c - && echo "$PIPER_VOICE_CONFIG_MD5 /opt/piper/voices/de_DE-thorsten-medium.onnx.json" | md5sum -c - # buildkit
ENV VOICE_TTS_BIN=/opt/piper/piper
ENV VOICE_TTS_MODEL=/opt/piper/voices/de_DE-thorsten-medium.onnx
ENV VOICE_TTS_VOICE=de_DE-thorsten-medium
ENV VOICE_TTS_CONVERTER=ffmpeg
COPY /app/_build/prod/rel/alfred ./ # buildkit
COPY /app/priv/static ./lib/alfred-0.1.1/priv/static # buildkit
ENV SECRET_KEY_BASE=RGG6pQuqtCbipDXgA7OvFH/0J8xDDYNxWIR9wIEFKcaFM08Vw3POoQ26/aMFaIsE
ENV DATABASE_URL=ecto://postgres:postgres@localhost/alfred_dev
ENV PHX_SERVER=true
ENV PORT=4000
ENV RELEASE_NODE=alfredrel
EXPOSE [4000/tcp]
CMD ["sh" "-c" "bin/alfred eval Alfred.Release.migrate && bin/alfred start"]
Details
Container
2026-10-01 21:37:39 +02:00
1
OCI / Docker
linux/amd64
316 MiB
Versions (11) View all