File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -154,8 +154,9 @@ RUN \
154154 make -j "$(nproc)" && \
155155 make install_lib_shared install_bin && \
156156 echo "**** install python ****" && \
157+ PY_HA_ALPINE_VER=$(echo "${HA_ALPINE_VER}" | sed 's|\. ||' ) && \
157158 PY_RELEASE_TAG=$(curl -s https://api.github.com/repos/linuxserver/docker-python/releases \
158- | jq -r "first(.[] | select(.tag_name | startswith(\" alpine320 -${HA_PY_VERSION}\" ))) | .tag_name" ) && \
159+ | jq -r "first(.[] | select(.tag_name | startswith(\" alpine${PY_HA_ALPINE_VER} -${HA_PY_VERSION}\" ))) | .tag_name" ) && \
159160 if [ -n "${PY_RELEASE_TAG}" ]; then \
160161 echo "**** Installing python from the linuxserver python repo release ${PY_RELEASE_TAG} ****" && \
161162 curl -o \
Original file line number Diff line number Diff line change @@ -154,8 +154,9 @@ RUN \
154154 make -j "$(nproc)" && \
155155 make install_lib_shared install_bin && \
156156 echo "**** install python ****" && \
157+ PY_HA_ALPINE_VER=$(echo "${HA_ALPINE_VER}" | sed 's|\.||') && \
157158 PY_RELEASE_TAG=$(curl -s https://api.github.com/repos/linuxserver/docker-python/releases \
158- | jq -r "first(.[] | select(.tag_name | startswith(\"alpine320 -${HA_PY_VERSION}\"))) | .tag_name") && \
159+ | jq -r "first(.[] | select(.tag_name | startswith(\"alpine${PY_HA_ALPINE_VER} -${HA_PY_VERSION}\"))) | .tag_name") && \
159160 if [ -n "${PY_RELEASE_TAG}" ]; then \
160161 echo "**** Installing python from the linuxserver python repo release ${PY_RELEASE_TAG} ****" && \
161162 curl -o \
You can’t perform that action at this time.
0 commit comments