Skip to content

Force NVM to a fixed LTS version #35

@judereid

Description

@judereid

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; \

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions