Skip to content

Commit 77d6fee

Browse files
committed
feat: add protobuf and grpc
1 parent 365a1ed commit 77d6fee

File tree

3 files changed

+38
-12
lines changed

3 files changed

+38
-12
lines changed

Makefile

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
export DOCKER_BUILDKIT ?= 1
55
export COMPOSE_DOCKER_CLI_BUILD ?= 1
66

7+
# Docker binary to use, when executing docker tasks
8+
DOCKER ?= docker
9+
710
IMAGE_NAMESPACE ?= wayofdev/php-base
811
IMAGE_TEMPLATE ?= 8.3-fpm-alpine
912
IMAGE_TAG ?= $(IMAGE_NAMESPACE):$(IMAGE_TEMPLATE)-latest
@@ -13,7 +16,26 @@ CACHE_FROM ?= $(IMAGE_TAG)
1316
OS ?= $(shell uname)
1417
CURRENT_DIR ?= $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
1518

16-
19+
# Yamllint docker image
20+
YAML_LINT_RUNNER ?= $(DOCKER) run --rm $$(tty -s && echo "-it" || echo) \
21+
-v $(PWD):/data \
22+
cytopia/yamllint:latest \
23+
-c ./.github/.yamllint.yaml \
24+
-f colored .
25+
26+
ACTION_LINT_RUNNER ?= $(DOCKER) run --rm $$(tty -s && echo "-it" || echo) \
27+
-v $(shell pwd):/repo \
28+
--workdir /repo \
29+
rhysd/actionlint:latest \
30+
-color
31+
32+
MARKDOWN_LINT_RUNNER ?= $(DOCKER) run --rm $$(tty -s && echo "-it" || echo) \
33+
-v $(shell pwd):/app \
34+
--workdir /app \
35+
davidanson/markdownlint-cli2-rules:latest \
36+
--config ".github/.markdownlint.json"
37+
38+
#
1739
# Self documenting Makefile code
1840
# ------------------------------------------------------------------------------------
1941
ifneq ($(TERM),)

README.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
<br>
2-
3-
<div align="center">
4-
<img width="456" src="https://raw.githubusercontent.com/wayofdev/docker-php-base/master/assets/logo.gh-light-mode-only.png#gh-light-mode-only" alt="WayOfDev Logo in light mode">
5-
<img width="456" src="https://raw.githubusercontent.com/wayofdev/docker-php-base/master/assets/logo.gh-dark-mode-only.png#gh-dark-mode-only" alt="WayOfDev logo in dark mode">
6-
</div>
7-
8-
<br>
9-
10-
<br>
1+
<p align="center">
2+
<br>
3+
<a href="https://wayof.dev" target="_blank">
4+
<picture>
5+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wayofdev/.github/master/assets/logo.gh-dark-mode-only.png">
6+
<img width="400" src="https://raw.githubusercontent.com/wayofdev/.github/master/assets/logo.gh-light-mode-only.png" alt="WayOfDev Logo">
7+
</picture>
8+
</a>
9+
<br>
10+
</p>
1111

1212
<div align="center">
1313
<a href="https://actions-badge.atrox.dev/wayofdev/docker-php-base/goto"><img alt="Build Status" src="https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fwayofdev%2Fdocker-php-base%2Fbadge&style=flat-square"/></a>
@@ -41,7 +41,9 @@ Enabled extensions by default:
4141
| [memcached](https://pecl.php.net/package/memcached) | Functions for interfacing with Memcached | pecl |
4242
| [decimal](https://pecl.php.net/package/decimal) | Arbitrary precision floating-point decimal | pecl |
4343
| [amqp](https://pecl.php.net/package/amqp) | Advanced Message Queuing Protocol (AMQP) library | pecl |
44-
| [yaml](https://pecl.php.net/package/yaml) | YAML (YAML Ain't Markup Language) library | pecl |
44+
| [yaml](https://pecl.php.net/package/yaml) | YAML library | pecl |
45+
| [grpc](https://pecl.php.net/package/grpc) | gRPC library | pecl |
46+
| [protobuf](https://pecl.php.net/package/protobuf) | Protocol Buffers library | pecl |
4547

4648
<br>
4749

src/group_vars/base.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,5 +106,7 @@ ext_pecl_enabled:
106106
- decimal
107107
- amqp
108108
- yaml
109+
- grpc
110+
- protobuf
109111

110112
...

0 commit comments

Comments
 (0)