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

Initial PR including files + fwd templates. #1

Merged
merged 6 commits into from
Aug 11, 2020

Conversation

carlbastos
Copy link
Contributor

No description provided.

@carlbastos carlbastos changed the title Initial commit. Initial PR including files + fwd templates. Aug 5, 2020
"output": ".",
"builds": [
{
"name": "default",
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"name": "default",
"name": "7.4-fpm-alpine",

Copy link
Member

Choose a reason for hiding this comment

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

Would be good if we add 7.1, 7.2, 7.3

&& tar -C /usr/local/bin -xzvf dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
&& rm dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz

COPY kool.ini /kool/kool.tmpl
Copy link
Member

Choose a reason for hiding this comment

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

Add cp "/usr/local/etc/php/php.ini-production" "/usr/local/etc/php/php.ini"

ENV PHP_MEMORY_LIMIT=256M \
PHP_UPLOAD_MAX_FILESIZE=50M \
PHP_POST_MAX_SIZE=50M \
PHP_MAX_EXECUTION_TIME=300
Copy link
Member

Choose a reason for hiding this comment

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

max execution 30


ENTRYPOINT [ "dockerize", "-template", "/kool/kool.tmpl:/usr/local/etc/php/conf.d/kool.ini", "docker-entrypoint.sh" ]

CMD ["php-fpm"]
Copy link
Member

Choose a reason for hiding this comment

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

remove if it's the same form base


- name: Test docker images
run: |
docker run kooldev/wordpress:${{ matrix.version }} php /usr/src/wordpress/index.php
Copy link
Member

Choose a reason for hiding this comment

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

move up

@carlbastos
Copy link
Contributor Author

@dbpolito I just submitted the CR corrections/suggestions as per your comments. Cheers!

@dbpolito dbpolito merged commit 5f3ac8c into kool-dev:master Aug 11, 2020
@dbpolito
Copy link
Member

Beautiful ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants