Giter Site home page Giter Site logo

Comments (7)

skyred avatar skyred commented on May 31, 2024

This student emailed me and said: "I'm pretty sure that sqlite was already installed on the docker image that I downloaded"

https://medium.com/gci-blog-2016-lecafard/installing-drupal-using-docker-on-archlinux-sqlite-a3761cee03df#.m2mhcbl9o

What is the exact error message you received?

from drupal.

tianon avatar tianon commented on May 31, 2024

It sounds like you've installed drush on top of this Drupal image, is that correct? I'm not sure how I feel about adding additional bits to the image specifically to support third-party tooling interacting with it. 😕

I think installing the dependencies of Drush would be part of adding Drush to the image (docker-php-ext-install should be reasonably easy to get sqlite3 support included).

from drupal.

dm-coding avatar dm-coding commented on May 31, 2024

Well, drush is a pretty essential tool. It's the best way to interact programatically with the drupal site, including running operations like drupal cron, which is a system requirement for drupal sites. You could rebase the build toolchain to install drupal using drush -- which I believe is now the recommended way to install drupal as well as the most supported. And having an image where d8 sites can talk to sqlite out of the box but drush/cli can't is just plain confusing.

+1 for adding drush and sqlite to the base image.

from drupal.

AgoraSecurity avatar AgoraSecurity commented on May 31, 2024

Has there been any progress on this? I'm trying to setup a container with a basic installation. I want to be able to run the container and have a running site.

from drupal.

tianon avatar tianon commented on May 31, 2024

I imagine that now that we use/include composer, installing Drush is simpler -- can anyone confirm?
(Is this even still relevant? 🙈)

from drupal.

mstenta avatar mstenta commented on May 31, 2024

We install Drush via Composer in our farmOS image: https://github.com/farmOS/farmOS/blob/eb6f1043da00b7b21d122d3cba626c4d026371c3/composer.json#L46

Never had any trouble with SQLite3 - and we run automated tests against all three database types (PostgreSQL, MySQL/MariaDB, and SQLite3).

I think this issue can be closed.

from drupal.

tianon avatar tianon commented on May 31, 2024

Nice, thanks for confirming, @mstenta! 👍

from drupal.

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.