Git Product home page Git Product logo

Comments (8)

juampynr avatar juampynr commented on July 17, 2024 1

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.

juampynr avatar juampynr commented on July 17, 2024 1

@fjgarlin just created #82

from drupal9ci.

sharique avatar sharique commented on July 17, 2024

+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.

fjgarlin avatar fjgarlin commented on July 17, 2024

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.

sharique avatar sharique commented on July 17, 2024

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.

juampynr avatar juampynr commented on July 17, 2024

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.

fjgarlin avatar fjgarlin commented on July 17, 2024

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.

juampynr avatar juampynr commented on July 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.