diff --git a/Makefile b/Makefile index 9632810..b820880 100644 --- a/Makefile +++ b/Makefile @@ -8,11 +8,11 @@ help: ## Show this message sed 's/:[^#]*[#]# /|/' | \ column -t -s'|' >&2 -.PHONY: image +.PHONY: image-dev image-dev: ## Build Docker image for development scripts/docker.bash build . -f Dockerfile.dev -t riju --build-arg "UID=$(UID)" -.PHONY: image +.PHONY: image-prod image-prod: ## Build Docker image for production scripts/docker.bash build . -f Dockerfile.prod -t riju:prod --build-arg "UID=$(UID)" diff --git a/scripts/docker-install.bash b/scripts/docker-install.bash index 96cbbb2..64eeca1 100755 --- a/scripts/docker-install.bash +++ b/scripts/docker-install.bash @@ -291,7 +291,7 @@ npm install -g lumo-cljs npm install -g coffeescript # Elm -npm install -g run-elm +npm install -g @kachkaev/run-elm # Perl cpan Devel::REPL @@ -531,7 +531,8 @@ if (( "$uid" != 0 )); then useradd --uid="$uid" --create-home --groups sudo docker passwd -d docker else - ln -s /root /home/docker + useradd --create-home --groups sudo docker + passwd -d docker fi touch /home/docker/.zshrc