Skip to content
Snippets Groups Projects
Verified Commit b77d6d76 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Initial commit

parents
Branches
No related tags found
No related merge requests found
ARG SDK_VERSION
FROM k8r.eu/justjanne/android-sdk:$SDK_VERSION
RUN apt-get --quiet update --yes && \
apt-get --quiet install --yes python3 python3-lxml
Makefile 0 → 100644
IMAGE := k8r.eu/justjanne/$(shell basename $(shell git remote get-url origin) .git)
SDK_VERSION := 30-30.0.3
TAGS := $(SDK_VERSION)
.PHONY: build
build:
docker build --pull -t $(IMAGE):$(TAGS) . \
--build-arg PLATFORM=$(PLATFORM) \
--build-arg BUILD_TOOLS=$(BUILD_TOOLS)
docker tag $(IMAGE):$(TAGS) $(IMAGE):latest
@echo Successfully tagged $(IMAGE):$(TAGS) as latest
.PHONY: push
push: build
docker push $(IMAGE):$(TAGS)
docker push $(IMAGE):latest
@echo Successfully pushed $(IMAGE):$(TAGS) as latest
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment