FROM node:14.6.0
# Install watchman build dependencies
RUN \
apt-get update -y &&\
apt-get install -y python-dev
# install watchman
# Note: See the README.md to find out how to increase the
# fs.inotify.max_user_watches value so that watchman will
# work better with ember projects.
RUN \
git clone https://github.com/facebook/watchman.git &&\
cd watchman &&\
git checkout v4.9.0 &&\
./autogen.sh &&\
./configure &&\
make &&\
make install
# install bower
RUN \
npm install -g [email protected]
# install chrome for default testem config (as of ember-cli 2.15.0)
RUN \
apt-get update &&\
apt-get install -y \
apt-transport-https \
gnupg \
--no-install-recommends &&\
curl -sSL https://dl.google.com/linux/linux_signing_key.pub | apt-key add - &&\
echo "deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list &&\
apt-get update &&\
apt-get install -y \
google-chrome-stable \
--no-install-recommends
# tweak chrome to run with --no-sandbox option
RUN \
sed -i 's/"$@"/--no-sandbox "$@"/g' /opt/google/chrome/google-chrome
# install ember-cli
RUN \
npm install -g [email protected]
Content type
Image
Digest
Size
640.9 MB
Last updated
about 6 years ago
docker pull reploy/ember