forked from eb-oss/composer-laravel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
54 lines (42 loc) · 909 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
43
44
45
46
47
48
49
50
51
52
53
FROM alpine:3.16
MAINTAINER "Emmett Culley" <[email protected]>
RUN apk --update --no-cache add wget \
curl \
git \
php8 \
php8-ctype \
php8-curl \
php8-dom \
php8-fileinfo \
php8-fpm \
php8-gd \
php8-iconv \
php8-json \
php8-mbstring \
php8-mysqli \
php8-openssl \
php8-pdo \
php8-pdo_mysql \
php8-pdo_pgsql \
php8-pdo_sqlite \
php8-pgsql \
php8-phar \
php8-session \
php8-simplexml \
php8-sqlite3 \
php8-tokenizer \
php8-xml \
php8-xmlreader \
php8-xmlwriter \
php8-zip \
php8-zlib \
composer
RUN apk add --no-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing gnu-libiconv
#RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer
RUN mkdir -p /var/www
WORKDIR /var/www
VOLUME /var/www/
#RUN composer self-update
CMD ["bash"]
ENTRYPOINT ["composer"]
CMD ["--version"]