From 414b648b8e87f047e3e6aa60cf45687c47d0b61f Mon Sep 17 00:00:00 2001 From: Taylor Silva Date: Tue, 16 Mar 2021 10:28:13 -0400 Subject: [PATCH] Add --target when running tests Docker doesn't blindly build all targets anymore. To run the tests you need to specify the --target Signed-off-by: Taylor Silva --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5240ed3..35af481 100644 --- a/README.md +++ b/README.md @@ -138,8 +138,8 @@ will stop the build. Run the tests with the following commands for both `alpine` and `ubuntu` images: ```sh -docker build -t hg-resource -f dockerfiles/alpine/Dockerfile . -docker build -t hg-resource -f dockerfiles/ubuntu/Dockerfile . +docker build -t hg-resource --target tests -f dockerfiles/alpine/Dockerfile . +docker build -t hg-resource --target tests -f dockerfiles/ubuntu/Dockerfile . ``` ### Contributing