Use Python 3. (#53)

This commit is contained in:
djl 2022-02-02 19:57:13 +00:00 committed by GitHub
parent 0ee7ce217e
commit a11d38de0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 14 additions and 7 deletions

View file

@ -1,4 +1,4 @@
FROM ghcr.io/linuxserver/baseimage-alpine-python:3.11 FROM ghcr.io/linuxserver/baseimage-alpine:3.15
# set version label # set version label
ARG BUILD_DATE ARG BUILD_DATE
@ -21,7 +21,9 @@ RUN \
apk add --no-cache \ apk add --no-cache \
ffmpeg \ ffmpeg \
flac \ flac \
mc && \ git \
mc \
python3 && \
echo "**** compile shntool *** *" && \ echo "**** compile shntool *** *" && \
mkdir -p \ mkdir -p \
/tmp/shntool && \ /tmp/shntool && \

View file

@ -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 # set version label
ARG BUILD_DATE ARG BUILD_DATE
@ -21,7 +21,9 @@ RUN \
apk add --no-cache \ apk add --no-cache \
ffmpeg \ ffmpeg \
flac \ flac \
mc && \ git \
mc \
python3 && \
echo "**** compile shntool *** *" && \ echo "**** compile shntool *** *" && \
mkdir -p \ mkdir -p \
/tmp/shntool && \ /tmp/shntool && \

View file

@ -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 # set version label
ARG BUILD_DATE ARG BUILD_DATE
@ -21,7 +21,9 @@ RUN \
apk add --no-cache \ apk add --no-cache \
ffmpeg \ ffmpeg \
flac \ flac \
mc && \ git \
mc \
python3 && \
echo "**** compile shntool *** *" && \ echo "**** compile shntool *** *" && \
mkdir -p \ mkdir -p \
/tmp/shntool && \ /tmp/shntool && \

View file

@ -79,6 +79,7 @@ app_setup_nginx_reverse_proxy_block: "Access WebUI at `<your-ip>:8181` and walk
# changelog # changelog
changelogs: changelogs:
- { date: "02.02.22:", desc: "Rebasing to alpine 3.15. Updating to Python 3." }
- { date: "19.12.19:", desc: "Rebasing to alpine 3.11." } - { date: "19.12.19:", desc: "Rebasing to alpine 3.11." }
- { date: "28.06.19:", desc: "Rebasing to alpine 3.10." } - { date: "28.06.19:", desc: "Rebasing to alpine 3.10." }
- { date: "09.05.19:", desc: "Add default UTC timezone if user does not set it." } - { date: "09.05.19:", desc: "Add default UTC timezone if user does not set it." }

View file

@ -1,5 +1,5 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
exec \ exec \
s6-setuidgid abc python /app/headphones/Headphones.py \ s6-setuidgid abc python3 /app/headphones/Headphones.py \
--datadir=/config --datadir=/config