mirror of
https://github.com/linuxserver/docker-beets
synced 2026-01-29 11:35:00 +01:00
push up nasty bandaid fix for armhf, using python3 lib alpine:3.8
This commit is contained in:
parent
75a5acdb28
commit
81755646e2
1 changed files with 10 additions and 5 deletions
|
|
@ -46,10 +46,6 @@ FROM lsiobase/alpine.armhf:${ALPINE_VER} as beets_build-stage
|
|||
|
||||
############## beets build stage ##############
|
||||
|
||||
# copy artifacts from fetch stage
|
||||
COPY --from=fetch-stage /tmp/beets-src /tmp/beets-src
|
||||
COPY --from=fetch-stage /tmp/copyartifacts-src /tmp/copyartifacts-src
|
||||
|
||||
# set workdir for beets install
|
||||
WORKDIR /tmp/beets-src
|
||||
|
||||
|
|
@ -59,6 +55,11 @@ RUN \
|
|||
py3-setuptools \
|
||||
python3-dev
|
||||
|
||||
# copy artifacts from fetch stage and apply bandaid
|
||||
COPY --from=fetch-stage /tmp/beets-src /tmp/beets-src
|
||||
COPY --from=fetch-stage /tmp/copyartifacts-src /tmp/copyartifacts-src
|
||||
COPY bandaid/armhf/ /usr/lib/
|
||||
|
||||
# build beets package
|
||||
RUN \
|
||||
set -ex && \
|
||||
|
|
@ -140,6 +141,9 @@ RUN \
|
|||
py3-pip \
|
||||
python3-dev
|
||||
|
||||
# apply bandaid
|
||||
COPY bandaid/armhf/ /usr/lib/
|
||||
|
||||
# install pip packages
|
||||
RUN \
|
||||
set -ex && \
|
||||
|
|
@ -198,8 +202,9 @@ ARG BEETS_VERSION
|
|||
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
||||
LABEL maintainer="sparklyballs"
|
||||
|
||||
# copy artifacts strip stage
|
||||
# copy artifacts strip stage and apply bandaid
|
||||
COPY --from=strip-stage /build/all/usr/ /usr/
|
||||
COPY bandaid/armhf/ /usr/lib/
|
||||
|
||||
# install runtime packages
|
||||
RUN \
|
||||
|
|
|
|||
Loading…
Reference in a new issue