Add gosu and host user to Docker

This commit is contained in:
bandesz
2017-01-12 14:38:08 +00:00
parent 8300cb0ac0
commit ac0e1f1def
5 changed files with 91 additions and 19 deletions

View File

@@ -19,5 +19,15 @@ build:
.PHONY: bash
bash:
docker run -it --rm \
govuk/notify-api-builder \
-e UID=$(shell id -u) \
-e GID=$(shell id -g) \
govuk/notify-api-builder:${DOCKER_IMAGE_TAG} \
bash
.PHONY: bash
bash-hostuser:
docker run -it --rm \
-e UID=$(shell id -u) \
-e GID=$(shell id -g) \
govuk/notify-api-builder:${DOCKER_IMAGE_TAG} \
gosu hostuser bash