-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
37 lines (29 loc) · 1007 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
FROM php:8.2
RUN apt-get update \
&& apt-get install -y locales locales-all
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
ENV COMPOSER_ALLOW_SUPERUSER 1
RUN set -x \
&& apt-get update -y \
&& apt-get install ruby-dev rubygems openssh-client apt-transport-https sudo git rsync zip unzip expect -yqq --no-install-recommends \
&& apt-get install gnupg -yqq --no-install-recommends
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN composer global require typo3/surf
RUN composer global require deployer/deployer
RUN apt-get update -y && apt-get install -y nodejs
RUN apt-get update -y && apt-get install -y npm
RUN npm install -g grunt-cli
RUN npm install -g yarn
RUN npm install -g sass
RUN rm -rf /var/lib/apt/lists/*
# confirm installation
RUN php -v
RUN composer --version
RUN node -v
RUN sass --version
RUN npm -v
RUN yarn -v
RUN composer global show typo3/surf
RUN composer global show deployer/deployer