Integrate Container and Website Repo's + docs restructure

This commit is contained in:
kjeld Schouten-Lebbing
2021-03-17 10:35:56 +01:00
parent e8f9ef02d4
commit c9a3f01580
364 changed files with 7580 additions and 234 deletions
+1
View File
@@ -0,0 +1 @@
focal-20210217
+43
View File
@@ -0,0 +1,43 @@
# hadolint ignore=DL3007
FROM ghcr.io/truecharts/ubuntu:latest
ARG VERSION
USER root
# hadolint ignore=DL3008,DL3015,SC2086
RUN \
apt-get -qq update \
&& \
apt-get -qq install -y \
libicu66 \
&& \
curl -fsSL -o /tmp/readarr.tar.gz \
"https://readarr.servarr.com/v1/update/nightly/updatefile?version=${VERSION}&os=linux&runtime=netcore&arch=x64" \
&& tar ixzf /tmp/readarr.tar.gz -C /app --strip-components 1 \
&& \
rm -rf \
/app/readarr.Update* \
&& \
printf "UpdateMethod=docker\nBranch=nightly\nPackageVersion=%s\nPackageAuthor=[TrueCharts Project](https://truecharts.org)" "${VERSION}" > /app/package_info \
&& \
apt-get autoremove -y \
&& apt-get clean \
&& \
rm -rf \
/tmp/* \
/var/lib/apt/lists/* \
/var/tmp/ \
&& chmod -R u=rwX,go=rX /app \
&& printf "umask %d" "${UMASK}" >> /etc/bash.bashrc \
&& update-ca-certificates
USER apps
EXPOSE 8787
COPY ./.containers/apps/readarr/entrypoint.sh /entrypoint.sh
CMD ["/entrypoint.sh"]
LABEL "maintainer"="TrueCharts <info@truecharts.org>"
LABEL "org.opencontainers.image.source"="https://github.com/truecharts/apps"
+1
View File
@@ -0,0 +1 @@
linux/amd64
+1
View File
@@ -0,0 +1 @@
0.1.0.536
+7
View File
@@ -0,0 +1,7 @@
#!/usr/bin/env bash
#shellcheck disable=SC1091
source "/shim/umask.sh"
source "/shim/vpn.sh"
exec /app/Readarr --nobrowser --data=/config ${EXTRA_ARGS}
+6
View File
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
version=$(curl -fsSL "https://readarr.servarr.com/v1/update/nightly/changes?os=linux&runtime=netcore" | jq --raw-output '.[0].version')
version="${version#*v}"
version="${version#*release-}"
printf "%s" "${version}"