-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
45 lines (38 loc) · 1.31 KB
/
Dockerfile
File metadata and controls
45 lines (38 loc) · 1.31 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
FROM debian:stretch-slim
LABEL maintainer="oroessner@gmail.com"
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
wget curl \
lsb-release \
apt-transport-https \
ca-certificates \
bzip2 \
&& curl -sL https://deb.nodesource.com/setup_10.x | bash - \
&& wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg \
&& sh -c 'echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' \
&& 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 -y --no-install-recommends --autoremove \
php7.3-apcu \
php7.3-common \
php7.3-readline \
php7.3-cli \
php7.3-curl \
php7.3-intl \
php7.3-mbstring \
php7.3-opcache \
php7.3-json \
php7.3-zip \
php7.3-xsl \
yarn \
nodejs \
git \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
ENV HOME=/home
# composer
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
COPY docker-entrypoint.sh /usr/local/bin/
ENTRYPOINT [ "docker-entrypoint.sh" ]
CMD [ "bash" ]