mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-31 15:15:38 -05:00
Add gosu and host user to Docker
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user