forked from ppy/osu-web
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.development
More file actions
51 lines (41 loc) · 1.1 KB
/
Dockerfile.development
File metadata and controls
51 lines (41 loc) · 1.1 KB
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
FROM ubuntu:22.04
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y software-properties-common
RUN add-apt-repository ppa:ondrej/php
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
build-essential \
curl \
git \
gosu \
jhead \
libglib2.0-0 \
libnss3 \
mysql-client \
netcat-openbsd \
php8.0-common \
php8.0-curl \
php8.0-ds \
php8.0-gd \
php8.0-intl \
php8.0-mbstring \
php8.0-mysql \
php8.0-redis \
php8.0-sqlite3 \
php8.0-swoole \
php8.0-tokenizer \
php8.0-xml \
php8.0-zip \
php8.0 \
zip
RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash -
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y nodejs
RUN npm install -g yarn
RUN curl -L "https://getcomposer.org/download/latest-2.x/composer.phar" > /usr/local/bin/composer && chmod 755 /usr/local/bin/composer
COPY install_chrome.sh ./
RUN ./install_chrome.sh
WORKDIR /app
RUN groupadd osuweb && useradd -g osuweb osuweb
ENTRYPOINT ["/app/docker/development/entrypoint.sh"]
CMD ["octane"]