diff --git a/docker/sync/Dockerfile b/docker/sync/Dockerfile new file mode 100644 index 0000000..106c319 --- /dev/null +++ b/docker/sync/Dockerfile @@ -0,0 +1,21 @@ +FROM debian:trixie-slim + +RUN apt-get update && apt-get install -y --no-install-recommends \ + ostree \ + flatpak \ + git \ + curl \ + ca-certificates \ + gnupg \ + && rm -rf /var/lib/apt/lists/* + +# yq (mikefarah, Go-Binary) zum Parsen von apps.yaml +RUN curl -sSL -o /usr/local/bin/yq \ + https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 \ + && chmod +x /usr/local/bin/yq + +WORKDIR /app +COPY sync.sh /app/sync.sh +RUN chmod +x /app/sync.sh + +ENTRYPOINT ["/app/sync.sh"] \ No newline at end of file