Skip to content
Snippets Groups Projects
Commit a44b8434 authored by Felix Häberle's avatar Felix Häberle :speech_balloon:
Browse files

#62 move user flag to non darwin code

parent ebb7a71f
No related branches found
Tags feat-mac-002
1 merge request!1Feature/macos
......@@ -37,7 +37,6 @@ function startContainer {
docker start ${COMPOSE_PROJECT_NAME}_l3d
else
start_params=(
--user ${USERID}:${GROUPID}
--hostname ${COMPOSE_PROJECT_NAME}-l3d
--group-add ${GROUPIDS// / --group-add }
--env L3DSHELL=${L3DSHELL}
......@@ -54,6 +53,7 @@ function startContainer {
)
if [[ ${L3DHOSTOS} != Darwin ]]; then
start_params+=(
--user ${USERID}:${GROUPID}
--volume /etc/group:/etc/group:ro
--volume /etc/passwd:/etc/passwd:ro
--volume /etc/shadow:/etc/shadow:ro
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment