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

Force NVM to a fixed LTS version #35

Open
judereid opened this issue Apr 8, 2021 · 0 comments
Open

Force NVM to a fixed LTS version #35

judereid opened this issue Apr 8, 2021 · 0 comments

Comments

@judereid
Copy link
Contributor

judereid commented Apr 8, 2021

We should extend the cli container to use the latest LTS version of node/npm

# Use a stock Docksal image as the base
FROM docksal/cli:2-php7.4

# nvm/node/npm are only available in the docker user context
USER docker

# Install additional global npm dependencies
RUN set -e; \
	# Initialize the user environment (this loads nvm)
	. $HOME/.profile; \
	# Install the necessary nodejs version
	nvm install 14.16.1; \
	nvm alias default 14.16.1; \
@judereid judereid changed the title Force NVM to a fixed version Force NVM to a fixed LTS version Apr 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant