chore: update git (#150)

* chore: rename image name
* chore: add git v2.25.0
* chore: enhance Dockerfile
This commit is contained in:
Shohei Ueda
2020-01-25 11:56:09 +09:00
committed by GitHub
parent 7c0de2ddec
commit c00fd7be83
5 changed files with 36 additions and 19 deletions

View File

@@ -1,7 +1,8 @@
cmd := "bash"
msg := ""
IMAGE_NAME := actions-hugo-dev:latest
DOCKER_BUILD := docker build . -t $(IMAGE_NAME) --file ./__tests__/Dockerfile
IMAGE_NAME := actions_hugo_dev:latest
NODE_VERSION := $(shell cat ./.nvmrc)
DOCKER_BUILD := docker build . -t $(IMAGE_NAME) --build-arg NODE_VERSION=$(NODE_VERSION)
DOCKER_RUN := docker run --rm -i -t -v ${PWD}:/repo -v ~/.gitconfig:/etc/gitconfig $(IMAGE_NAME)