Comments (8)
Sounds good @fjgarlin. I think that it makes sense to update the Dockerfile to create a new image.
As for where to store the image, I would prefer GitHub's Container Registry rather than Docker Hub since now in Docker hub you need to pay in order to do automated builds.
from drupal9ci.
from drupal9ci.
+1 for upgrading base image, I recently upgraded my Drupal site to use PHP 8.1, but getting error on CI as image is still stuck at PHP 8.0.
from drupal9ci.
An attempt at this is made here: #81
--
Just thinking out loud here... I wonder how difficult would it be to add ddev
or something like it (aka simple and easy) to the project, or find/create an image where we can set versions of PHP, node, etc. which also contains all we need.
from drupal9ci.
In one of my personal project, I'm using following in .gitlab-ci.yml
file for using PHP 8.1.
image: drupal:php8.1-apache-bullseye
.before_script_template:
before_script:
- apt-get update -yqq
- apt-get install -yqq git libpq-dev libcurl4-gnutls-dev libicu-dev libvpx-dev libjpeg-dev libpng-dev libxpm-dev zlib1g-dev libfreetype6-dev libxml2-dev libexpat1-dev libbz2-dev libgmp3-dev libldap2-dev unixodbc-dev libsqlite3-dev libaspell-dev libsnmp-dev libpcre3-dev libtidy-dev libonig-dev libzip-dev wget
# Install PHP extensions
- docker-php-ext-install mbstring curl intl gd xml bz2
# Install & enable Xdebug for code coverage reports
# - pecl install xdebug
# - docker-php-ext-enable xdebug
# Remove the memory limit for the CLI only.
- echo 'memory_limit = -1' > /usr/local/etc/php/php-cli.ini
# Install Robo CI.
- wget https://robo.li/robo.phar
- chmod +x robo.phar && mv robo.phar /usr/local/bin/robo
from drupal9ci.
An attempt at this is made here: #81
--
Just thinking out loud here... I wonder how difficult would it be to add
ddev
or something like it (aka simple and easy) to the project, or find/create an image where we can set versions of PHP, node, etc. which also contains all we need.
Perhaps the next major version of this project could be an interactive command line interface. Thoughts @fjgarlin ?
from drupal9ci.
That would be something really cool to get. Give the users a few options to choose from and then generate everything with the right versions. I really like the idea.
from drupal9ci.
That would be something really cool to get. Give the users a few options to choose from and then generate everything with the right versions. I really like the idea.
I am going to start creating one using https://github.com/spf13/cobra-cli
from drupal9ci.
Related Issues (20)
- Annotations for code-standards HOT 2
- Changes to upstream image causes CircleCI to break HOT 1
- Is this still supported? HOT 5
- Run Travis CI in a Drupal Docker project HOT 3
- Clarify instructions in scripts/databases HOT 8
- Cannot touch 'storage/testing.sqlite': No such file or directory HOT 1
- Errors saving and restoring cache HOT 8
- Drupal Test Traits configured for Github Actions config, but not other CI configs HOT 9
- Drupal 9 compatibility HOT 4
- Replace Behat tests by Cypress.io ones HOT 4
- Create Composer 2 version for both Dockerfile and Dockerfile9 HOT 6
- "Failed to connect to localhost port 80: Connection refused" HOT 1
- DocumentRoot directory doesn't exist HOT 12
- jq not available by default in drupal8ci:latest image
- Include intl extension for PHP
- Interactive command line interface HOT 2
- Remove CircleCI test
- Config validation in CI
- Rename project and references from drupal9ci to drupalci HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drupal9ci.