Sign inSign up
composer logo

composer:2

Multi-platform
Also known as:
2.11
2.11.1
latest
Developer tools
Index digest

sha256:4ed71c38c6d788eb4e4e3747b5332f5b40d5b5a6fcadd5062a1a70986a118e0a

OS/ARCH

Compressed size

74.36 MB

Last pushed

1 day by doijanky

Type

Image

Vulnerabilities

8
19
13
6
1

Manifest digest

sha256:22844d23aacc7140fccf24992829ae98bc2c92e0240ccca3b35716bf5d82ed70

Layers (31)

php:d7a63ea937edc75f80bf90dbca8a34d44b99060bdf34c7e26f0999d0926f841f
8
18
8
5
1
composer:2
0
1
5
1
0

21

RUN /bin/sh -c set -eux ; apk add --no-cache --virtual .composer-rundeps 7zip bash coreutils git make mercurial openssh-client patch subversion tini unzip zip # buildkit

32.03 MB


22

RUN /bin/sh -c printf "# composer php cli ini settings\ndate.timezone=UTC\nmemory_limit=-1\n" > $PHP_INI_DIR/php-cli.ini # buildkit

259 B


23

ENV COMPOSER_ALLOW_SUPERUSER=1

0 B


24

ENV COMPOSER_HOME=/tmp

0 B


25

ENV COMPOSER_VERSION=2.11.1

0 B


26

RUN /bin/sh -c set -eux ; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS bzip2-dev libzip-dev ; docker-php-ext-install -j "$(nproc)" bz2 zip ; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )" ; apk add --no-cache --virtual .composer-phpext-rundeps $runDeps ; apk del --no-network .build-deps ; curl --silent --fail --location --retry 3 --output /tmp/keys.dev.pub --url https://raw.githubusercontent.com/composer/composer.github.io/e7f28b7200249f8e5bc912b42837d4598c74153a/snapshots.pub ; echo 572b963c4b7512a7de3c71a788772440b1996d918b1d2b5354bf8ba2bb057fadec6f7ac4852f2f8a8c01ab94c18141ce0422aec3619354b057216e0597db5ac2 /tmp/keys.dev.pub | sha512sum --strict --check ; curl --silent --fail --location --retry 3 --output /tmp/keys.tags.pub --url https://raw.githubusercontent.com/composer/composer.github.io/e7f28b7200249f8e5bc912b42837d4598c74153a/releases.pub ; echo 47f374b8840dcb0aa7b2327f13d24ab5f6ae9e58aa630af0d62b3d0ea114f4a315c5d97b21dcad3c7ffe2f0a95db2edec267adaba3f4f5a262abebe39aed3a28 /tmp/keys.tags.pub | sha512sum --strict --check ; curl --silent --fail --location --retry 3 --output /tmp/installer.php --url https://raw.githubusercontent.com/composer/getcomposer.org/f24b8f860b95b52167f91bbd3e3a7bcafe043038/web/installer ; echo 3137ad86bd990524ba1dedc2038309dfa6b63790d3ca52c28afea65dcc2eaead16fb33e9a72fd2a7a8240afaf26e065939a2d472f3b0eeaa575d1e8648f9bf19 /tmp/installer.php | sha512sum --strict --check ; php /tmp/installer.php --no-ansi --install-dir=/usr/bin --filename=composer --version=${COMPOSER_VERSION} ; composer --ansi --version --no-interaction ; rm -f /tmp/installer.php ; find /tmp -type d -exec chmod -v 1777 {} + # buildkit

1.09 MB


27

COPY docker-entrypoint.sh /docker-entrypoint.sh # buildkit

418 B


28

WORKDIR /app

93 B


29

ENTRYPOINT ["/docker-entrypoint.sh"]

0 B


30

CMD ["composer"]

0 B