Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 18, 2022. It is now read-only.

Commit 5ec13fd

Browse files
committed
add composer
1 parent 03d7234 commit 5ec13fd

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

‎Dockerfile‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ ARG EXT_RDKAFKA_VERSION
66
RUN apk add autoconf gcc g++ librdkafka=$LIBRDKAFKA_VERSION librdkafka-dev=$LIBRDKAFKA_VERSION make \
77
--update-cache --repository http://dl-3.alpinelinux.org/alpine/edge/community
88

9+
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer
10+
911
RUN pecl channel-update pecl.php.net && \
1012
pecl install rdkafka-$EXT_RDKAFKA_VERSION && \
1113
docker-php-ext-enable rdkafka

‎README.md‎

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
# php-rdkafka-docker
1+
# Supported tags and respective `Dockerfile` links
2+
[`latest`, `72-fpm-alpine3.8-lib-0.11.6-r0-ext-3.0.5-composer` (Dockerfile)](https://github.com/nick-zh/php-rdkafka-docker/blob/72-fpm-alpine3.8-lib-0.11.6-r0-ext-3.0.5-composer/Dockerfile "Dockerfile")
3+
[`72-fpm-alpine3.8-lib-0.11.6-r0-ext-3.0.5` (Dockerfile)](https://github.com/nick-zh/php-rdkafka-docker/blob/72-fpm-alpine3.8-lib-0.11.6-r0-ext-3.0.5/Dockerfile "Dockerfile")
24

3-
## Description
4-
PHP docker image with librdkafka and ext-rdkafka preinstalled.
5-
The image is built with php:7.2-fpm-alpine3.8 as base and the
6-
newest librdkafka release (0.11.6 at the time)
75

8-
## Build it yourself
6+
# Build it yourself
97
```
108
docker build . --build-arg LIBRDKAFKA_VERSION=<version> --build-arg EXT_RDKAFKA_VERSION=<version> -t <tag>
11-
```
9+
```

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /