Skip to content

Commit 39d5070

Browse files
authored
📝 update readme
1 parent d74b521 commit 39d5070

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
# PHP+OCI8 Docker image
1+
# PHP with OCI8 extension docker image
22

33
This is my custom docker image based on official php-fpm image with installed oci8 and few other extensions.
44

5-
## Available extensions
5+
## Tags
6+
- [`latest`, `1.2`, `1.1`](https://github.com/silencesys/docker-php-oci8/blob/master/Dockerfile)
7+
8+
## Extensions installed within this image
9+
This image brings few more extensions than the default PHP-fpm one.
610
- zip
711
- gdo
812
- opcache
@@ -16,8 +20,17 @@ This is my custom docker image based on official php-fpm image with installed oc
1620
You can freely use this image as a base for your own docker images. Simply put to your Dockerfile following line:
1721
```Docker
1822
FROM silencesys/php-oci8:latest
23+
24+
COPY . /usr/src/myapp
25+
WORKDIR /usr/src/myapp
26+
27+
CMD ["php-fpm"]
28+
EXPOSE 9000
1929
```
2030

31+
<br>
32+
33+
### Custom configuration
2134
To modify php configuration.
2235
```Docker
2336
COPY ./config/your_config.ini /usr/local/etc/php/conf.d/custom.ini

0 commit comments

Comments
 (0)