-
Notifications
You must be signed in to change notification settings - Fork 11
/
Dockerfile
31 lines (23 loc) · 724 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
#
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
#
# PLEASE DO NOT EDIT IT DIRECTLY.
#
FROM php:8.3-alpine
LABEL org.opencontainers.image.source="https://github.com/MilesChou/composer-action" \
repository="https://github.com/MilesChou/composer-action" \
maintainer="MilesChou <[email protected]>"
RUN set -xe && \
apk add --no-cache \
git \
tini \
unzip
ENV COMPOSER_ALLOW_SUPERUSER=1 \
COMPOSER_MEMORY_LIMIT=-1 \
COMPOSER_HOME=/tmp \
COMPOSER_PATH=/usr/bin/composer
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
COPY docker-entrypoint /usr/local/bin/docker-entrypoint
WORKDIR /app
ENTRYPOINT ["/usr/local/bin/docker-entrypoint"]
CMD ["composer"]