ci: add yarn to concourse/dev
this is to enable building the web UI during 'docker build'
@@ -14,6 +14,15 @@ RUN apt-get update && apt-get -y install \
btrfs-tools \
jq
+# install Node 8.x
+RUN curl -sL https://deb.nodesource.com/setup_8.x | bash -
+RUN apt-get update && apt-get install -y nodejs
+
+# install Yarn for building the web UI
+RUN curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
+RUN add-apt-repository "deb https://dl.yarnpkg.com/debian/ stable main"
+RUN apt-get update && apt-get -y install yarn
+
# fetch dependencies
COPY dumb-init/dumb-init_*_amd64 /usr/local/bin/dumb-init
COPY gdn/gdn-* /usr/local/bin/gdn
