Skip to content
Snippets Groups Projects
Commit 5503c20b authored by Grzegorz Bizon's avatar Grzegorz Bizon
Browse files

Merge branch 'fix/gb/add-yarn-to-gdk-docker-image' into 'master'

Install yarn in GDK docker image

Closes #221

See merge request !293
parents 4158d210 4e3e1acc
No related branches found
No related tags found
1 merge request!293Install yarn in GDK docker image
Pipeline #
Loading
Loading
@@ -18,11 +18,20 @@ RUN apt-get install -y libssl-dev
 
# rest of gitlab requirements
RUN apt-get install -y git postgresql postgresql-contrib libpq-dev redis-server \
libicu-dev cmake g++ nodejs libkrb5-dev golang ed pkg-config libsqlite3-dev \
libreadline-dev npm sudo nodejs-legacy
libicu-dev cmake g++ libkrb5-dev golang ed pkg-config libsqlite3-dev \
libreadline-dev sudo
# install nodejs
RUN curl -sL https://deb.nodesource.com/setup_6.x | bash -
RUN apt-get install -y nodejs
 
# GDK tools
RUN apt-get install -y net-tools psmisc
RUN apt-get install -y net-tools psmisc apt-transport-https
# install yarn
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
RUN apt-get update && apt-get install -y yarn
 
# Add GDK user
RUN useradd --user-group --create-home gdk
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment