feat: upgrade to latest alpine 3.19 and fdroid 2.2

This commit is contained in:
2024-04-29 19:13:08 +02:00
parent aa50e74d9a
commit b49a7ea957
8 changed files with 434 additions and 384 deletions

View File

@ -2,22 +2,21 @@ SSH_PUBLIC_KEY := $(shell cat ~/.ssh/id_rsa.pub)
build:
docker build \
--build-arg "HTTP_PROXY=$(HTTP_PROXY)" \
--build-arg "HTTPS_PROXY=$(HTTP_PROXY)" \
--build-arg "http_proxy=$(http_proxy)" \
--build-arg "https_proxy=$(https_proxy)" \
-t fdroid-repository \
-m 4g \
-t fdroid-repository:latest \
./
run:
docker run -it --rm \
-p 2222:2222 \
-p 8080:80 \
-p 8443:443 \
-p 8080:8080 \
--name fdroid-repo \
-v "$(PWD)/data/repo:/fdroid/repo" \
-v "$(PWD)/data/archive:/fdroid/archive" \
-v "$(PWD)/data/metadata:/fdroid/metadata" \
-v "$(PWD)/data/keystore:/fdroid/keystore" \
-e "FDROID_REPO_HOST=:80" \
-e "FDROID_REPO_SCHEME=http" \
-e "FDROID_REPO_HOST=127.0.0.1:8080" \
-e "FDROID_REPO_NAME=My local repo" \
-e "FDROID_REPO_DESCRIPTION=My repo description" \
-e "FDROID_KEYSTORE_PASS=mykeystorepass" \
@ -29,9 +28,9 @@ run:
fdroid-repository:latest \
$(DOCKER_CMD)
push:
docker image tag fdroid-repository:latest cadoles/fdroid-repository:latest
docker push cadoles/fdroid-repository:latest
release:
docker image tag fdroid-repository:latest reg.cadoles.com/cadoles/fdroid-repository:latest
docker push reg.cadoles.com/cadoles/fdroid-repository:latest
clean:
docker rmi fdroid-repository