Comments (7)
Available in the edge images and will be release in docksal/cli
v2.1.0
from service-cli.
In your Docksal project's .docksal/docksal.env
or if this is only for you in your .docksal/docksal-local.env
(not in ~/.docksal/docksal.env
):
DRUSH_LAUNCHER_FALLBACK=/usr/local/bin/drush8
TIP: The Docksal project files.docsal-local.env
and .docksal-local.env
are for your local changes and should not be committed to your git repository. docksal.env
and .docksal.yml
are for all the configuration that should be shared with anyone else that needs to get the project up and running in Docksal.
from service-cli.
@lmakarov Just read now how would I add this flag ?
At the moment I am just using following to get access to legacy Drush
echo "alias drush=/usr/local/bin/drush8" >> ~/.bashrc && source ~/.bashrc
Is there any better way ?
from service-cli.
Tacos to you my friend. You're a champion.
from service-cli.
@amjad-wp, @frederickjh you normally don't need to do anything, as long as you are on the latest Docksal version using the default stack.
If you have a custom stack defined in .docksal/docksal.yml
in you project, then, either update image versions there, or switch to using the default stack. The default stack is updated automatically when you update Docksal. Using the default stack is the recommended way for most users. Take a look at how it is being used in https://github.com/docksal/drupal8
It is possible, that even with the default stack you have image versions pinned in .docksal/docksal.env
of you project. If that is the case, then, either update the pinned versions, or don't pin at all (unless you know what you are doing).
from service-cli.
@lmakarov I am not using this myself, as I haven't had a need to, it just works as you say. I was just explaining how to set a environmental variable in a Docksal project container.
from service-cli.
@lmakarov I have switched to dev version few days back. For debugging issue docksal/docksal#800
from service-cli.
Related Issues (20)
- Update readme file for versions and variables
- Unable to edit user settings in VS Code IDE HOT 1
- Need support to install google-chrome in cli container HOT 25
- Drop PHP 7.3
- Terminus v3 and automated login HOT 3
- Ruby version installed doesn't match documentation for release php7.4-3.0 HOT 3
- Mail is not beeing sent when additional parameter is not set when using Mailhog HOT 5
- Switch to Debian 11.0 (bullseye) base image
- CLI image PHP7.4-3.0 has no bundler HOT 1
- Python pip is missing in the v3 images
- Global composer install not setting allowed plugins HOT 1
- "Check custom startup script" sporadic failures in Github Actions CI
- Docker Content Trust for docksal Docker images
- Drupal warning with Php < 8.1.6 HOT 1
- cli stdout logs are too messy HOT 2
- PHP 8.2 HOT 3
- Fix bundled Drush deprecation notices in PHP 8.2 image HOT 2
- ImageMagick 7 HOT 1
- Drop drush-launcher installation from cli container HOT 1
- PHP 8.3 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 service-cli.