fix expose on all docker containers and add appdaemon (#375)
This commit is contained in:
parent
bf37d50f74
commit
ff0099b9f2
|
@ -0,0 +1,33 @@
|
|||
# hadolint ignore=DL3007
|
||||
ARG VERSION
|
||||
|
||||
FROM ghcr.io/k8s-at-home/appdaemon:v${VERSION}
|
||||
|
||||
|
||||
ARG TARGETPLATFORM
|
||||
|
||||
USER root
|
||||
|
||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||
|
||||
# hadolint ignore=DL3008,DL3015,SC2086
|
||||
RUN \
|
||||
usermod -l apps kah \
|
||||
&& \
|
||||
groupmod -n apps kah \
|
||||
&& chown -R apps:apps /config \
|
||||
&& rm -rf /app/package_info \
|
||||
&& \
|
||||
printf "UpdateMethod=docker\nPackageVersion=%s\nPackageAuthor=[TrueCharts Project](https://truecharts.org)" "${VERSION}" > /app/package_info
|
||||
|
||||
|
||||
USER apps
|
||||
|
||||
EXPOSE 5050
|
||||
|
||||
CMD ["/entrypoint.sh"]
|
||||
|
||||
LABEL "maintainer"="TrueCharts <info@truecharts.org>"
|
||||
LABEL "authors"="TrueCharts <info@truecharts.org>"
|
||||
LABEL "org.opencontainers.image.source"="https://github.com/truecharts/apps/tree/master/.containers/apps/appdaemon"
|
||||
LABEL "org.opencontainers.image.documentation "="https://truecharts.org"
|
|
@ -0,0 +1 @@
|
|||
4.0.8
|
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
TOKEN=$(curl https://ghcr.io/token\?scope\="repository:k8s-at-home/appdaemon:pull" | jq --raw-output '.[]')
|
||||
version=$(curl -H "Authorization: Bearer ${TOKEN}" https://ghcr.io/v2/k8s-at-home/appdaemon/tags/list | jq --raw-output '.tags[]' | grep -v latest | grep -v buildcache | tail -n1)
|
||||
version="${version#*v}"
|
||||
version="${version#*release-}"
|
||||
echo "${version}"
|
|
@ -23,7 +23,7 @@ RUN \
|
|||
|
||||
USER apps
|
||||
|
||||
EXPOSE 6767
|
||||
EXPOSE 8096 8920
|
||||
|
||||
CMD ["/entrypoint.sh"]
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ RUN \
|
|||
|
||||
USER apps
|
||||
|
||||
EXPOSE 6767
|
||||
EXPOSE 9117
|
||||
|
||||
CMD ["/entrypoint.sh"]
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ RUN \
|
|||
|
||||
USER apps
|
||||
|
||||
EXPOSE 6767
|
||||
EXPOSE 8686
|
||||
|
||||
CMD ["/entrypoint.sh"]
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ RUN \
|
|||
|
||||
USER apps
|
||||
|
||||
EXPOSE 6767
|
||||
EXPOSE 6789
|
||||
|
||||
CMD ["/entrypoint.sh"]
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ RUN \
|
|||
|
||||
USER apps
|
||||
|
||||
EXPOSE 6767
|
||||
EXPOSE 5076
|
||||
|
||||
CMD ["/entrypoint.sh"]
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ RUN \
|
|||
|
||||
USER apps
|
||||
|
||||
EXPOSE 6767
|
||||
EXPOSE 32400/tcp 1900/tcp 5353/udp 8324/tcp 32410/udp 32413/udp 32414/udp 32469/udp
|
||||
|
||||
CMD ["/entrypoint.sh"]
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ RUN \
|
|||
|
||||
USER apps
|
||||
|
||||
EXPOSE 6767
|
||||
EXPOSE 6881 6881/udp ${WEBUI_PORT}
|
||||
|
||||
CMD ["/entrypoint.sh"]
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ RUN \
|
|||
|
||||
USER apps
|
||||
|
||||
EXPOSE 6767
|
||||
EXPOSE 7878
|
||||
|
||||
CMD ["/entrypoint.sh"]
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ RUN \
|
|||
|
||||
USER apps
|
||||
|
||||
EXPOSE 6767
|
||||
EXPOSE 8787
|
||||
|
||||
CMD ["/entrypoint.sh"]
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ RUN \
|
|||
|
||||
USER apps
|
||||
|
||||
EXPOSE 6767
|
||||
EXPOSE 8080
|
||||
|
||||
CMD ["/entrypoint.sh"]
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ RUN \
|
|||
|
||||
USER apps
|
||||
|
||||
EXPOSE 6767
|
||||
EXPOSE 8989
|
||||
|
||||
CMD ["/entrypoint.sh"]
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ RUN \
|
|||
|
||||
USER apps
|
||||
|
||||
EXPOSE 6767
|
||||
EXPOSE 8181
|
||||
|
||||
CMD ["/entrypoint.sh"]
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ RUN \
|
|||
|
||||
USER apps
|
||||
|
||||
EXPOSE 6767
|
||||
EXPOSE 51413 ${WEBUI_PORT}
|
||||
|
||||
CMD ["/entrypoint.sh"]
|
||||
|
||||
|
|
Loading…
Reference in New Issue