Minor fixes

This commit is contained in:
Radon Rosborough 2020-06-09 15:58:22 -06:00
parent e697444266
commit ed6ad511e6
2 changed files with 5 additions and 4 deletions

View File

@ -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)"

View File

@ -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