Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat 6404 smtp2 go messaging adapter #51

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Stage 1: Composer
FROM composer:2.0 as composer

ARG TESTING=false
Expand All @@ -15,11 +16,17 @@ RUN composer install \
--no-scripts \
--prefer-dist

# Stage 2: PHP
FROM php:8.0-cli-alpine

WORKDIR /usr/local/src/

COPY --from=composer /usr/local/src/vendor /usr/local/src/vendor
COPY . /usr/local/src/

CMD [ "tail", "-f", "/dev/null" ]
# Install PHPUnit
RUN wget -O phpunit https://phar.phpunit.de/phpunit-9.phar && \
chmod +x phpunit && \
mv phpunit /usr/local/bin/phpunit
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There shouldn't be any need to add this.


CMD [ "tail", "-f", "/dev/null" ]
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"autoload": {
"psr-4": {
"Utopia\\Messaging\\": "src/Utopia/Messaging"
"Utopia\\Messaging\\": "src/Utopia/Messaging/"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this changed? We don't have a trailing slash for other libraries 🧐

}
},
"autoload-dev": {
Expand All @@ -26,8 +26,8 @@
"ext-curl": "*"
},
"require-dev": {
"phpunit/phpunit": "9.6.*",
"phpmailer/phpmailer": "6.8.*",
"phpunit/phpunit": "^9.6",
"phpmailer/phpmailer": "^6.8",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's change this back to using wildcards. Eventually, we want to use wildcards for everything for clarity.

"laravel/pint": "^1.2"
},
"config": {
Expand Down
Loading