Commit ffb7590c authored by Chris Shantz's avatar Chris Shantz

Updated Nodejs to version 10 for Drupal8, added ability to include github...

Updated Nodejs to version 10 for Drupal8, added ability to include github token into docker-entrypoint.
parent e3a3befd
......@@ -28,8 +28,8 @@ RUN apt-get update && \
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
## Added so we can installs 8.x branch of nodejs.
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash -
## Added so we can installs 10.x branch of nodejs.
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -
RUN export LANG=en_US.UTF-8
......
......@@ -22,5 +22,8 @@ chmod -R g+w /var/www/drupal8
chown -R www-data:www-data /var/www/drupal8alt
chmod -R g+w /var/www/drupal8alt
## If you don't want to keep entering your github token when you build a d8 profile...
#composer config --global github-oauth.github.com <token>
# Now that we're set up, run whatever command was passed to the entrypoint.
exec "$@"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment