Docker image error
@roxblnfk is already working on this.
Since Oct 26, 2023.
Assessment
This issue has not been assessed yet.
Description
when you run any example using the configuration docker:
Docker image:
FROM php:8.1.15-cli
RUN apt-get update && apt-get install -y --no-install-recommends \
nano \
bash \
libzip-dev \
unzip \
libonig-dev
# Install PHP Extensions
ENV CFLAGS="$CFLAGS -D_GNU_SOURCE"
RUN docker-php-ext-install zip \
&& docker-php-ext-install opcache sockets mbstring \
&& docker-php-ext-enable opcache sockets mbstring
# Protobuf and GRPC
ENV PROTOBUF_VERSION "3.19.2"
RUN pecl channel-update pecl.php.net
RUN pecl install protobuf-${PROTOBUF_VERSION} grpc \
&& docker-php-ext-enable protobuf grpc
# Install Temporal CLI
COPY --from=temporalio/admin-tools /usr/local/bin/tctl /usr/local/bin/tctl
# Install Composer
COPY --from=composer /usr/bin/composer /usr/local/bin/composer
# Wait for Temporal service to star up
COPY wait-for-temporal.sh /usr/local/bin
RUN chmod +x /usr/local/bin/wait-for-temporal.sh
# Copy application codebase
WORKDIR /var/app
COPY app/ /var/app
RUN composer install
# Setup RoadRunner
RUN vendor/bin/rr get --no-interaction \
&& mv rr /usr/local/bin/rr \
&& chmod +x /usr/local/bin/rr
Error:
Deprecated: Return type of Google\Protobuf\Internal\MapField::offsetGet($index) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in Unknown on line 0
Deprecated: Return type of Google\Protobuf\Internal\MapField::offsetSet($index, $newval) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in Unknown on line 0
Deprecated: Return type of Google\Protobuf\Internal\MapField::offsetUnset($index) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in Unknown on line 0
Deprecated: Return type of Google\Protobuf\Internal\MapField::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in Unknown on line 0
Deprecated: Return type of Google\Protobuf\Internal\MapField::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in Unknown on line 0
Deprecated: Return type of Google\Protobuf\Internal\MapFieldIter::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in Unknown on line 0
Deprecated: Return type of Google\Protobuf\Internal\MapFieldIter::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in Unknown on line 0
Deprecated: Return type of Google\Protobuf\Internal\MapFieldIter::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in Unknown on line 0
Deprecated: Return type of Google\Protobuf\Internal\MapFieldIter::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in Unknown on line 0
Deprecated: Return type of Google\Protobuf\Internal\MapFieldIter::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in Unknown on line 0
B]f{"pid":28}
Could anyone help me?
- Dominant language
- PHP
- Stars
- 125
- Forks
- 46
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from temporalio/samples-php
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 25/100
temporalio/samples-php#68 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 30/100
temporalio/samples-php#65 · 2 comments ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 25/100
temporalio/samples-php#47 ·
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 35/100
temporalio/samples-php#39 · 1 comment · 1 reaction ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 25/100
temporalio/samples-php#34 ·
All issues in temporalio/samples-php
Similar issues
-
tooling
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
UX
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
ProfessionalWiki/NeoWiki#1525 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
bug customer-reported
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
MagnaCapax/PMSS#949 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Automattic/static-site-importer#1829 ·