From f1ce12663e9719feb87dc172d13f2ba125f403db Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Sun, 20 May 2018 07:49:32 -0400 Subject: [PATCH] Add makefile target to connect to a Docker container and the set the console dimensions. Signed-off-by: Roberto Rosario --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index e9138f2ad8..189adc3171 100644 --- a/Makefile +++ b/Makefile @@ -369,3 +369,6 @@ docker-build: docker-build-with-proxy: docker build -t mayanedms/mayanedms:$(DOCKER_VERSION) -f docker/Dockerfile --build-arg APT_PROXY=$(APT_PROXY) . + +docker-shell: + docker exec -e TERM=$TERM -e "COLUMNS=$(tput cols)" -e "LINES=$(tput lines)" -it $(DOCKER_CONTAINER) /bin/bash