Skip to content

Commit 3338454

Browse files
committed
add hadolint command
1 parent 53b346b commit 3338454

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ test: ## run testinfra tests against the project
44
-v /var/run/docker.sock:/var/run/docker.sock:ro \
55
aveltens/docker-testinfra
66

7+
lint: ## run hadolint against the Dockerfile
8+
docker run --rm -i hadolint/hadolint < src/Dockerfile
9+
710
build: ## build the docker image
811
docker build --file ./src/Dockerfile --tag aveltens/solid-server .
912

0 commit comments

Comments
 (0)