Use Python 3.
Headphones recently merged Python 3 support to the master branch, breaking the existing images. Update the Dockerfiles to use baseimage-alpine image and update the services to use Python 3.
This commit is contained in:
parent
0ee7ce217e
commit
b160e7db4a
4 changed files with 13 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
|||
FROM ghcr.io/linuxserver/baseimage-alpine-python:3.11
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine:3.15
|
||||
|
||||
# set version label
|
||||
ARG BUILD_DATE
|
||||
|
@ -21,7 +21,9 @@ RUN \
|
|||
apk add --no-cache \
|
||||
ffmpeg \
|
||||
flac \
|
||||
mc && \
|
||||
git \
|
||||
mc \
|
||||
python3 && \
|
||||
echo "**** compile shntool *** *" && \
|
||||
mkdir -p \
|
||||
/tmp/shntool && \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM ghcr.io/linuxserver/baseimage-alpine-python:arm64v8-3.11
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.15
|
||||
|
||||
# set version label
|
||||
ARG BUILD_DATE
|
||||
|
@ -21,7 +21,9 @@ RUN \
|
|||
apk add --no-cache \
|
||||
ffmpeg \
|
||||
flac \
|
||||
mc && \
|
||||
git \
|
||||
mc \
|
||||
python3 && \
|
||||
echo "**** compile shntool *** *" && \
|
||||
mkdir -p \
|
||||
/tmp/shntool && \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM ghcr.io/linuxserver/baseimage-alpine-python:arm32v7-3.11
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine:arm32v7-3.15
|
||||
|
||||
# set version label
|
||||
ARG BUILD_DATE
|
||||
|
@ -21,7 +21,9 @@ RUN \
|
|||
apk add --no-cache \
|
||||
ffmpeg \
|
||||
flac \
|
||||
mc && \
|
||||
git \
|
||||
mc \
|
||||
python3 && \
|
||||
echo "**** compile shntool *** *" && \
|
||||
mkdir -p \
|
||||
/tmp/shntool && \
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/with-contenv bash
|
||||
|
||||
exec \
|
||||
s6-setuidgid abc python /app/headphones/Headphones.py \
|
||||
s6-setuidgid abc python3 /app/headphones/Headphones.py \
|
||||
--datadir=/config
|
||||
|
|
Loading…
Add table
Reference in a new issue