Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clean up packer .json and bootstrap scripts for docker build in docker branch #80

Open
paciorek opened this issue Dec 8, 2016 · 0 comments

Comments

@paciorek
Copy link
Contributor

paciorek commented Dec 8, 2016

BCE-2016-fall.json and a few bootstrap scripts (00, 45, 55) modified in somewhat kludgey ways to get docker build to work in the docker branch.

In particular took 'sudo' out of the execute_command in the json file. Perhaps 'apt-get install sudo' prior to execution of the bootstrap script sourcing.
In addition the revised .json file copies to /tmp and /tmp not to /tmp/packages and /tmp/bootstrap.d as in the docker build /tmp/packages/packages and /tmp/bootstrap.d/bootstrap.d were getting created.

Also clean up the bootstrap scripts. If we move Miniconda to /opt, we may not need to use /home/ubuntu at all and not even have an ubuntu user on the BCE docker image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant