Add apk downloader project based on aurora's core

This commit is contained in:
Nathan Lecoanet
2026-07-07 15:58:48 +02:00
parent 3ab3943f1e
commit d6c45e4829
34 changed files with 1749 additions and 0 deletions

19
apk-downloader/Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
# SPDX-FileCopyrightText: 2026 Aurora OSS
# SPDX-License-Identifier: GPL-3.0-or-later
FROM eclipse-temurin:17-jdk AS build
WORKDIR /workspace
RUN apt-get update \
&& apt-get install -y --no-install-recommends git \
&& rm -rf /var/lib/apt/lists/*
COPY . .
RUN ./gradlew --no-daemon :apk-downloader:installDist
FROM eclipse-temurin:17-jre
WORKDIR /work
COPY --from=build /workspace/apk-downloader/build/install/apk-downloader /opt/apk-downloader
ENTRYPOINT ["/opt/apk-downloader/bin/apk-downloader"]