makefile: Update steam runtime docker init path

The Steam runtime image was updated, and /dev/init no longer exists. It
is now at /sbin/docker-init. Unfortunately this change will break
existing runtime installations. You'll need to update your runtime.
Easiest way is to just recreate the Vagrant VM.
This commit is contained in:
Andrew Eikum 2019-07-23 08:01:38 -05:00
parent 99764d17b1
commit 02ce41610d

View File

@ -60,7 +60,7 @@ DOCKER_SHELL_BASE = docker run --rm --init --privileged --cap-add=SYS_ADMIN --se
-v /etc/passwd:/etc/passwd:ro -v /etc/group:/etc/group:ro -v /etc/shadow:/etc/shadow:ro \
-w $(CURDIR) -e HOME=$(HOME) -e PATH=$(PATH) -u $(shell id -u):$(shell id -g) -h $(shell hostname) \
$(DOCKER_OPTS) \
$(SELECT_DOCKER_IMAGE) /dev/init -sg -- /bin/bash
$(SELECT_DOCKER_IMAGE) /sbin/docker-init -sg -- /bin/bash
# If STEAMRT64_MODE/STEAMRT32_MODE is set, set the nested SELECT_DOCKER_IMAGE to the _IMAGE variable and eval
# DOCKER_SHELL_BASE with it to create the CONTAINER_SHELL setting.