Skip to content
Permalink
v0.0.4
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
19 lines (15 sloc) 455 Bytes
IMAGE_NAME ?= takekazuomi/devcontainers-bicep
TAG ?= 0.0.4
help: ## Show this help.
@sed -ne '/@sed/!s/## //p' $(MAKEFILE_LIST)
build: ## build
docker build \
-t $(IMAGE_NAME):$(TAG) \
-t $(IMAGE_NAME):latest \
-f base.Dockerfile \
.
push: ## push
docker push $(IMAGE_NAME):$(TAG)
docker push $(IMAGE_NAME):latest
login: ## login docker shell
docker run -it --rm -u=$$(id -u):$$(id -g) -v $(PWD):/workspace $(IMAGE_NAME):latest /bin/zsh