Skip to content
Discussion options

You must be logged in to vote

Update: Running separate testing container and CI

Based on feedback on my previous post about increased attack surface area by having PHP and Node in the container which is used in production, I decided to create a separate testing container. Also I got it to work with CI as described below.

Would love feedback — especially if anyone has integrated this or similar setup into a CI pipeline with Spin.

Here is what I did now:

Dockerfile

I created a specific image for the php-testing container:

############################################
# Testing image with Browser Testing Support
############################################

FROM serversideup/php:8.4-fpm-nginx AS php-testing

# Accept same…

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@akulmehta
Comment options

@jaydrogers
Comment options

@akulmehta
Comment options

@jaydrogers
Comment options

@akulmehta
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by akulmehta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants