Improve build scripts (#16)

* Better handle installation requirements

* Install TVHeadend from edge repos

* Refactor Build Script

* Try installing a different git version

* Pin to Specific Versions of musl and gcc

To fix build CI

* Bump base images properly

* Prettified Code!

* Remove git and mono pinned to a specific version

Co-authored-by: GauthamVarmaK <GauthamVarmaK@users.noreply.github.com>
This commit is contained in:
Gautham Varma K
2021-06-19 11:40:04 +05:30
committed by GitHub
parent ade2f59ae1
commit bf6bd43f48
3 changed files with 70 additions and 55 deletions
-4
View File
@@ -2,10 +2,6 @@ ARG BUILD_FROM=ghcr.io/hassio-addons/base/amd64:9.2.2
# hadolint ignore=DL3006
FROM ${BUILD_FROM}
RUN echo 'http://dl-cdn.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositories
RUN echo 'http://dl-cdn.alpinelinux.org/alpine/edge/community' >> /etc/apk/repositories
RUN echo 'http://dl-cdn.alpinelinux.org/alpine/edge/main' >> /etc/apk/repositories
COPY run.sh /run.sh
RUN chmod +x /run.sh
RUN /run.sh