Skip to content

Commit

Permalink
Remove base image #2213
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasdille committed Jan 24, 2024
1 parent f1bae73 commit 90f1c9c
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 246 deletions.
56 changes: 0 additions & 56 deletions .github/workflows/build-base.yml

This file was deleted.

69 changes: 0 additions & 69 deletions @base/Dockerfile

This file was deleted.

25 changes: 0 additions & 25 deletions @base/check-clone.sh

This file was deleted.

18 changes: 0 additions & 18 deletions @base/check-download.sh

This file was deleted.

53 changes: 0 additions & 53 deletions @base/check-github-release-asset.sh

This file was deleted.

25 changes: 0 additions & 25 deletions make/tool.mk
Original file line number Diff line number Diff line change
Expand Up @@ -66,31 +66,6 @@ clean-builders: \
docker buildx ls | grep -q "^uniget " \
&& docker builder prune --builder uniget --all --force

.PHONY:
base: \
info \
metadata.json \
builders \
; $(info $(M) Building base image $(REGISTRY)/$(REPOSITORY_PREFIX)base:$(DOCKER_TAG)...)
@set -o errexit; \
ARCHS="$$(jq --raw-output '[ .tools[] | select(.platforms != null) | .platforms[] ] | unique[]' metadata.json | paste -sd,)"; \
echo "Platforms: $${ARCHS}"; \
export SOURCE_DATE_EPOCH="$(SOURCE_DATE_EPOCH)"; \
if ! docker buildx build @base \
--builder uniget \
--build-arg prefix_override=$(PREFIX) \
--build-arg target_override=$(TARGET) \
--platform $${ARCHS} \
--cache-from $(REGISTRY)/$(REPOSITORY_PREFIX)base:$(DOCKER_TAG) \
--tag $(REGISTRY)/$(REPOSITORY_PREFIX)base:$(DOCKER_TAG) \
--provenance=false \
--output type=registry,oci-mediatypes=true,push=true \
--progress plain \
>@base/build.log 2>&1; then \
cat @base/build.log; \
exit 1; \
fi

.PHONY:
$(ALL_TOOLS_RAW):%: \
$(HELPER)/var/lib/uniget/manifests/gojq.json \
Expand Down

0 comments on commit 90f1c9c

Please sign in to comment.