Skip to content

Commit 5d2f30e

Browse files
committed
Update docker makefile to allow for bash completion of valid targets
Signed-off-by: Kevin Klues <[email protected]>
1 parent f8a11b3 commit 5d2f30e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

mk/docker.mk

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,12 @@
1313
# limitations under the License.
1414
#
1515

16+
DOCKER_TARGETS = ubuntu18.04 ubuntu16.04 debian10 debian9 centos7 amazonlinux1 amazonlinux2 opensuse-leap15.1
17+
1618
docker: SHELL:=/bin/bash
17-
docker: ubuntu18.04 ubuntu16.04 debian10 debian9 centos7 amazonlinux1 amazonlinux2 opensuse-leap15.1
19+
docker: $(DOCKER_TARGETS)
20+
21+
$(DOCKER_TARGETS): # Added to explicity define possible targets for bash completion
1822

1923
ubuntu%: ARCH := amd64
2024
ubuntu%:

0 commit comments

Comments
 (0)