From 8bfc1b3066c47e31725988d293266b5a7b8ddae7 Mon Sep 17 00:00:00 2001 From: Carlos Date: Thu, 24 Oct 2019 15:53:23 +0200 Subject: [PATCH] Adds Node and Firebase tools. --- Dockerfile | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2961f01..94e60cc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,16 @@ FROM circleci/android:api-29 USER root + +# Skip checking SSH host keys. RUN mkdir /root/.ssh && chmod 700 /root/.ssh -RUN /bin/echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> /root/.ssh/config \ No newline at end of file +RUN /bin/echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> /root/.ssh/config + +# Install Node +RUN apt-get install -y curl \ + && curl -sL https://deb.nodesource.com/setup_9.x | bash - \ + && apt-get install -y nodejs \ + && curl -L https://www.npmjs.com/install.sh | sh + +# install Firebase CLI +RUN npm install -g firebase-tools \ No newline at end of file