Skip to content

Commit

Permalink
Removing latest option in makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
mattaereal committed Nov 11, 2024
1 parent 6b783d8 commit 1d11807
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ help:
@echo " build Build the Docker image with the software versions described in the .env file"
@echo " rebuild Forces build, even if a previous image exists. Won't delete previous images"
@echo " release Build the Docker image with the software versions described in the .env file, but from a specific release of this repo"
@echo " latest Build the Docker image with the latest version for each tool"
@echo " exec Run an interactive shell inside the container"
@echo " clean Remove Docke image $(IMAGE_NAME) and wipe cache (CAREFUL)"
@echo ""
Expand All @@ -31,7 +30,6 @@ help:
@echo " make build"
@echo " make rebuild"
@echo " make release"
@echo " make latest"
@echo " make exec"
@echo " make clean"
@echo ""
Expand All @@ -57,9 +55,6 @@ release:
@git checkout -

# TODO: Check this.
latest:
@$(DOCKER_BUILD_CMD) $(foreach VAR,$(shell sed 's/=.*//' .env),--build-arg $(VAR)=latest) -t $(IMAGE_NAME):latest .

exec: build
@echo "Running interactive shell inside the $(IMAGE_NAME) container..."
@docker run --hostname trg --rm -it -v $(PWD):/workdir $(IMAGE_NAME):latest /bin/zsh
Expand All @@ -68,4 +63,4 @@ clean:
@echo "Removing Docker image with the name $(IMAGE_NAME)..."
@docker rmi -f $(IMAGE_NAME) && docker builder prune -f

.PHONY: help build rebuild release latest exec clean
.PHONY: help build rebuild release exec clean

0 comments on commit 1d11807

Please sign in to comment.