This repository has been archived by the owner on Aug 16, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
65 lines (59 loc) · 1.43 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
FROM ubuntu:xenial
RUN apt-get update && \
apt -y upgrade
# install essential packages
RUN apt-get -y install \
curl \
build-essential \
software-properties-common \
language-pack-en-base \
gconf-service \
libasound2 \
libgtk-3-0 \
gconf-service \
libasound2 \
libgconf-2-4 \
libnspr4 \
libx11-dev \
fonts-liberation \
xdg-utils \
libnss3 \
libxss1 \
libappindicator1 \
libindicator7 \
git \
zip \
unzip \
xvfb \
wget
# add Node.js v10.x, Yarn and PHP repos
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - && \
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 && \
LC_ALL=en_US.UTF-8 add-apt-repository -y ppa:ondrej/php && \
apt-get update
# install Node.js v10.x, Yarn and PHP 7.3
RUN apt-get -y install \
nodejs \
yarn \
php-xdebug \
php7.3-fpm \
php7.3-mbstring \
php7.3-dom \
php7.3-curl \
php7.3-simplexml \
php7.3-gd \
php7.3-zip \
php7.3-sqlite3 \
php7.3-bcmath \
php7.3-intl \
php7.3-mysql
# install Composer
RUN curl -sS https://getcomposer.org/installer | php -- \
--install-dir=/usr/local/bin --filename=composer
# install Google Chrome
RUN wget \
https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && \
dpkg -i google-chrome*.deb && \
apt-get install -f && \
rm google-chrome-stable_current_amd64.deb