Integrate Container and Website Repo's + docs restructure
This commit is contained in:
@@ -0,0 +1 @@
|
||||
focal-20210217
|
||||
@@ -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"
|
||||
@@ -0,0 +1 @@
|
||||
linux/amd64
|
||||
@@ -0,0 +1 @@
|
||||
0.1.0.536
|
||||
Executable
+7
@@ -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}
|
||||
Executable
+6
@@ -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}"
|
||||
Reference in New Issue
Block a user