Преглед на файлове

add gnu tar and composer

ksieren преди 3 години
родител
ревизия
aad2a9ddf3
променени са 2 файла, в които са добавени 4 реда и са изтрити 1 реда
  1. 3 0
      Dockerfile
  2. 1 1
      README.md

+ 3 - 0
Dockerfile

@@ -35,6 +35,7 @@ RUN apk --no-cache add \
         nginx \
         runit \
         curl \
+        tar \
 # Bring in gettext so we can get `envsubst`, then throw
 # the rest away. To do this, we need to install `gettext`
 # then move `envsubst` out of the way so `gettext` can
@@ -60,6 +61,8 @@ RUN apk --no-cache add \
     && chown -R nobody.nobody /var/lib/nginx \
     && chown -R nobody.nobody /var/log/nginx
 
+RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer
+
 # Add configuration files
 COPY --chown=nobody rootfs/ /
 

+ 1 - 1
README.md

@@ -7,7 +7,7 @@ The image is only +/- 25MB large.
 Repository: https://git2.meramo.org/Infrastructure/alpine-phpfpm-nginx-baseimage.git
 
 * Built on the lightweight and secure Alpine Linux distribution
-* Very small Docker image size (+/-25MB)
+* Very small Docker image size (+/-65MB)
 * Uses PHP 8.1 for better performance, lower cpu usage & memory footprint
 * Multi-arch support: 386, amd64, arm/v6, arm/v7, arm64, ppc64le, s390x
 * Optimized for 100 concurrent users