Skip to content

Commit

Permalink
vagrant: Run docker login provision step as vagrant user
Browse files Browse the repository at this point in the history
Signed-off-by: Will Boyce <will@resin.io>
  • Loading branch information
wrboyce authored and Will Boyce committed Sep 27, 2018
1 parent d23ffa7 commit 7d0abd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Vagrant.configure('2') do |config|
config.vm.provision :shell, inline: 'apt-get update && apt-get install -y nodejs && rm -rf /var/lib/apt/lists/*'

# FIXME: remove `docker login`
config.vm.provision :shell, inline: "docker login --username resindev --password #{ENV.fetch('DOCKERHUB_PASSWORD')}"
config.vm.provision :shell, privileged: false, inline: "docker login --username resindev --password #{ENV.fetch('DOCKERHUB_PASSWORD')}"

config.vm.provision :shell, privileged: false,
# FIXME: -n/-d should only be passed if the relevant ENV var is set
Expand Down

0 comments on commit 7d0abd0

Please sign in to comment.