Compare commits
11
Commits
59312620f5
...
04bb9ceeb7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
04bb9ceeb7 | ||
|
|
348a7534fb | ||
|
|
105e5ff99f | ||
|
|
97189374b9 | ||
|
|
cf032507f8 | ||
|
|
64dbf0c97b | ||
|
|
4d560b3597 | ||
|
|
a854dc9664 | ||
|
|
8fcf47255b | ||
|
|
7de61064ed | ||
|
|
d01a658c15 |
No files matched your search
@@ -43,9 +43,8 @@ ENV REPO_ICON="$REPO_ICON"
|
|||||||
|
|
||||||
RUN sed -i "$ a repo_url: $REPO_DOMAIN/fdroid/repo" "$FDROID/config.yml"
|
RUN sed -i "$ a repo_url: $REPO_DOMAIN/fdroid/repo" "$FDROID/config.yml"
|
||||||
RUN sed -i "$ a repo_name: $REPO_NAME" "$FDROID/config.yml"
|
RUN sed -i "$ a repo_name: $REPO_NAME" "$FDROID/config.yml"
|
||||||
RUN sed -i "$ a repo_icon: $REPO_ICON" "$FDROID/config.yml"
|
|
||||||
|
|
||||||
RUN fdroid update
|
#RUN fdroid update
|
||||||
|
|
||||||
# Advanced Variables #
|
# Advanced Variables #
|
||||||
|
|
||||||
@@ -114,13 +113,32 @@ RUN bash -c 'if [[ -n "$FILE17" ]]; then wget -P "$REPO" "$FILE17"; fi'
|
|||||||
RUN bash -c 'if [[ -n "$FILE18" ]]; then wget -P "$REPO" "$FILE18"; fi'
|
RUN bash -c 'if [[ -n "$FILE18" ]]; then wget -P "$REPO" "$FILE18"; fi'
|
||||||
RUN bash -c 'if [[ -n "$FILE19" ]]; then wget -P "$REPO" "$FILE19"; fi'
|
RUN bash -c 'if [[ -n "$FILE19" ]]; then wget -P "$REPO" "$FILE19"; fi'
|
||||||
|
|
||||||
|
RUN sync
|
||||||
|
|
||||||
|
# Move any downloaded metadata files to the correct folder.
|
||||||
|
RUN cp -v "$REPO"/*.yml "$REPO"/../metadata || \
|
||||||
|
echo "No YML file(s) to copy." && sleep 5
|
||||||
|
|
||||||
|
# Move any downloaded icons to the proper folder.
|
||||||
|
RUN mv -v "$REPO"/*.png "$FDROID"/ || \
|
||||||
|
echo "No PNG file(s) to copy." && sleep 5
|
||||||
|
|
||||||
|
# If the icon variable is set, add it to the config file before updating.
|
||||||
|
RUN [ ! -z "$REPO_ICON" ] && \
|
||||||
|
sed -i "$ a repo_icon: $REPO_ICON" "$FDROID/config.yml"
|
||||||
|
|
||||||
RUN fdroid update -c
|
RUN fdroid update -c
|
||||||
|
|
||||||
# Publish Repo Contents to Web Root #
|
# Publish Repo Contents to Web Root #
|
||||||
|
|
||||||
RUN cp -r "$FDROID" "$WEBROOT/"
|
RUN cp -rv "$FDROID" "$WEBROOT/"
|
||||||
|
|
||||||
# The index files are in repo.
|
# The index files are in repo.
|
||||||
# TODO: Can NGINX be configured to serve this as root while still
|
# TODO: Can NGINX be configured to serve this as root while still
|
||||||
# having the URL be fdroid/repo/? How do others handle this?
|
# having the URL be fdroid/repo/? How do others handle this?
|
||||||
RUN cp -r "$REPO"/* "$WEBROOT/"
|
RUN cp -rv "$REPO"/* "$WEBROOT/"
|
||||||
|
|
||||||
|
CMD service nginx start && \
|
||||||
|
echo "\n*** F-Droid Repository has been started successfully! ***\n" && \
|
||||||
|
tail -F /var/log/nginx/access.log & \
|
||||||
|
tail -F /var/log/nginx/error.log
|
||||||
@@ -24,22 +24,22 @@ REPO_ICON="peace.png"
|
|||||||
# - Currently being done because Obtainium does not read the Gitea release/tag.
|
# - Currently being done because Obtainium does not read the Gitea release/tag.
|
||||||
|
|
||||||
FILE00="https://git.hyperling.com/me/android-carb-up/releases/download/latest/CarbUp_v1.0.1.apk"
|
FILE00="https://git.hyperling.com/me/android-carb-up/releases/download/latest/CarbUp_v1.0.1.apk"
|
||||||
FILE01=""
|
#FILE01="https://git.hyperling.com/me/android-carb-up/raw/branch/main/TBD.yml"
|
||||||
FILE02="https://git.hyperling.com/me/flutter-expense-tracker/releases/download/latest/ExpenseTracker_v0.1.3.apk"
|
FILE02=""
|
||||||
FILE03=""
|
FILE03="https://git.hyperling.com/me/flutter-expense-tracker/releases/download/latest/ExpenseTracker_v0.1.3.apk"
|
||||||
FILE04="https://git.hyperling.com/me/android-infinite-timer/releases/download/latest/InfiniteTimer_v1.1.1.apk"
|
#FILE04="https://git.hyperling.com/me/android-carb-up/raw/branch/main/TBD.yml"
|
||||||
FILE05=""
|
FILE05=""
|
||||||
FILE06="https://git.hyperling.com/me/android-45-minute-rule/releases/download/latest/The45MinuteRule_v1.0.7.apk"
|
FILE06="https://git.hyperling.com/me/android-infinite-timer/releases/download/latest/InfiniteTimer_v1.1.1.apk"
|
||||||
FILE07=""
|
#FILE07="https://git.hyperling.com/me/android-carb-up/raw/branch/main/TBD.yml"
|
||||||
FILE08="https://git.hyperling.com/me/android-tictactoe/releases/download/latest/TicTacToe_v1.1.0.apk"
|
FILE08=""
|
||||||
FILE09=""
|
FILE09="https://git.hyperling.com/me/android-45-minute-rule/releases/download/latest/The45MinuteRule_v1.0.7.apk"
|
||||||
FILE10="https://git.hyperling.com/me/android-hypergames/releases/download/latest/HyperGames_v0.0.11.apk"
|
#FILE10="https://git.hyperling.com/me/android-carb-up/raw/branch/main/TBD.yml"
|
||||||
FILE11=""
|
FILE11=""
|
||||||
FILE12=""
|
FILE12="https://git.hyperling.com/me/android-tictactoe/releases/download/latest/TicTacToe_v1.1.0.apk"
|
||||||
FILE13=""
|
#FILE13="https://git.hyperling.com/me/android-carb-up/raw/branch/main/TBD.yml"
|
||||||
FILE14=""
|
FILE14=""
|
||||||
FILE15=""
|
FILE15="https://git.hyperling.com/me/android-hypergames/releases/download/latest/HyperGames_v0.0.11.apk"
|
||||||
FILE16=""
|
#FILE16="https://git.hyperling.com/me/android-carb-up/raw/branch/main/TBD.yml"
|
||||||
FILE17=""
|
FILE17=""
|
||||||
FILE18=""
|
FILE18=""
|
||||||
FILE19="https://hyperling.com/files/media/icons/peace.png"
|
FILE19="https://hyperling.com/files/media/icons/peace.png"
|
||||||
Reference in new issue
Block a user