-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
42 lines (35 loc) · 939 Bytes
/
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
FROM ubuntu:xenial
MAINTAINER Sebastian Richter <[email protected]>
ENV NODEJS_VERSION 18.x
ENV GULP_VERSION 3.9.0
ENV TZ Europe/Berlin
RUN apt-get update \
&& apt-get install -y \
software-properties-common \
python-software-properties
RUN apt-get update \
&& apt-get install -y \
wget \
openssl \
php-fpm \
php-mbstring \
php-curl \
php-xml \
git \
ssh \
curl \
unzip \
sudo \
build-essential \
libssl-dev \
libfontconfig \
&& curl -sL https://deb.nodesource.com/setup_${NODEJS_VERSION} | sudo -E bash -\
&& sudo apt-get install -y nodejs \
&& curl -sSL https://get.docker.com/ | sh
## set Timezone
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
## Composer install
RUN curl -sS http://getcomposer.org/installer | php -- --install-dir=/bin --filename=composer && chmod +x /bin/composer
RUN composer self-update \
&& npm install -g gulp@${GULP_VERSION} \
&& npm install -g yarn