This image contains the build tools needed for React projects and can be used as a Jenkins Agent. It is also useful for getting everyone on the development team on the same versions of tools.
To use the tools locally:
# Pull the version the team is basing their work on
docker pull simoncomputing/react-agent:2020-07-15
# Go to the base directory of your React project and start the Docker image
docker run -it -w /react --mount type=bind,source="$(pwd)",target=/react react-agent
# To get out, just type:
exit
# You can simplify this by creating an alias
alias react-agent='docker run -it -w /react --mount type=bind,source="$(pwd)",target=/react react-agent'
# Once you've set the alias, you can go to any React project directory and type
react-agent
To setup your Jenkinsfile, see the Git repository at: https://gitlab.com/simoncomputing-public/jenkins-agents/react-agent
Content type
Image
Digest
Size
721.9 MB
Last updated
over 4 years ago
docker pull simoncomputing/react-agent