From 982ca3b1d27b7ac1723b493621c5fa99660c7b05 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Wed, 16 May 2018 02:32:45 +0200 Subject: [PATCH] fix(core): add build tools --- Dockerfile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/Dockerfile b/Dockerfile index 426bbce..fd41137 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,6 +16,31 @@ RUN apt-get update && apt-get install -y wget --no-install-recommends \ && apt-get purge --auto-remove -y curl \ && rm -rf /src/*.deb +RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections \ + && apt-get update \ + && apt-get upgrade --no-install-recommends -y \ + && apt-get install -y -q --no-install-recommends \ + software-properties-common \ + apt-transport-https \ + build-essential \ + ca-certificates \ + curl \ + g++ \ + gcc \ + git \ + make \ + openssl \ + python \ + rsync \ + ssh \ + wget \ + && curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \ + && echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \ + && apt-get update \ + && apt-get install yarn -y \ + && apt-get clean \ + && rm -r /var/lib/apt/lists/* + # It's a good idea to use dumb-init to help prevent zombie chrome processes. ADD https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-init_1.2.0_amd64 /usr/local/bin/dumb-init RUN chmod +x /usr/local/bin/dumb-init