Releases: docksal/service-cli
Releases · docksal/service-cli
v2.10.0
- Updated versions for cli tools
- Blackfire v1.27.4
- Platform.sh cli v3.49.1
- Terminus v2.2.0
- nvm v0.35.0 / nodejs v12.13.0 LTS / yarn v1.19.1
- Ruby v2.6.5
- pyenv v1.2.14
- Enabled authentication for VS Code Server
v2.9.0
v2.8.0
v2.7.0
- Removed PHP 5.6 and 7.0 (#102)
- Using Debian stretch php-frpm upstream images explicitly
- Upstream php-fpm images have switched to Debian Buster. For now, we will stick with Debian Stretch.
- Updated xdebug (v2.7.2), so it works with PHP 7.3 (docksal/docksal#1105)
- Added sqlsrv/pdo_sqlsrv extensions for PHP 7.3
- Updated versions of cli tools
- Composer v1.9.0
- Drush (fallback) v8.3.0
- Drush Backdrop v1.0.0
- Drupal Console Launcher v1.9.3
- WP-CLI v2.3.0
- Magento Codegen v1.11.0
- Terminus v2.1.0 (#126)
- Platform.sh CLI v3.47.0
- Updated language versions
- Nodejs 10.16.3 / yarn 1.17.3
- Ruby 2.6.4 / rvm 1.29.9
- pyenv 1.2.13
- Installed
zaporylie/composer-drupal-optimizations
package globally (#133, #99) - Fixed compatibility issues between PHP's
mail()
function andmsmtp
- Added
--read-envelope-from
option formsmtp
- Added
- Added PHPCompatibilityWP coding standards (#46)
- Setting default git settings (#124)
- Removed
drushrc.php
(#123) - Make sure stable, major, minor image tags match when pushing to Docker Hub (#121)
- Updated tests
- Updated README
v2.6.0
- PHP tooling
- Added PHP 7.3 image (#97)
- PHP 5.6 and 7.0 are deprecated and will be dropped in the next release (older images will remain accessible on Docker Hub).
- Configuring PHP zip extension to use
libzip
for all PHP 7.x versions (use of bundled libzip was deprecated and removed in PHP 7.3) - Added WebP support for PHP GD (#91)
- composer v1.8.0
- drush (fallback) v8.1.18
- drupal console v1.8.0
- wp cli v2.0.1
- platformsh-cli v3.38.1
- mg-codegen v1.10.2
- terminus v1.9.0
- Added drush backdrop v0.1.0 (#90)
- Added
config.yml
for terminus to suppress update and git mode warning messages - blackfire-agent v1.22.0
- Added WordPress PHPCS Library (#88)
- xdebug PHP extension updates
- Installing xdebug (stable) from Pecl for PHP 7.2 (docksal/docksal#799)
- Installing xdebug (2.7.0beta1) from Pecl for PHP 7.3
- Removed mcrypt libraries from PHP 7.2 and 7.3
- Nodejs tooling (#94)
- nvm v0.34.0
- nodejs v10.15.0 (switched to the new LTS version)
- yarn v1.13.0
- Ruby tooling
- Added
rvm
v1.29.7 - The default Ruby version (v2.6.0) is now installed via
rvm
as thedocker
user - Additional versions can be installed via
rvm
. See docs.
- Added
- Python tooling
- Added
pyenv
v1.2.9 - The default Python version is the one bundled with Debian 9 (v2.7.0)
- Additional versions can be installed via
pyenv
. See docs.
- Added
- Switched to running
startup.sh
script as thedocker
user - Switched to using
bash
in Dockerfile during the user install phase - Switched Travis CI builds to Ubuntu 18.04 (xenial) minimal flavor
- Replaced
mhsendmail
withmsmtp
and updated PHP settings (#103) - Added tagging for major image versions in addition to minor versions (#61)
- Updated tests
- Using "run _healthcheck_wait" so bats prints output from it in case the healthcheck fails
- Simplified cron test, as it was failing sporadically
- Simplified phpcs test, as it was failing sporadically
v2.5.1
- Adjusted PHPCS configs location. Fixes docksal/docksal#793
v2.5.0
- Set
en_US.UTF-8
as the default locale (#692) git user.email
anduser.name
are now configurable via env variables (GIT_USER_EMAIL
andGIT_USER_NAME
) (#80)- Set
max_input_vars
to2000
for PHP FPM- This is necessary for forms with a huge amount of fields (e.g. Drupal's Permissions form). The default value is 1000.
- Fixed issue with empty
SECRET_SSH_PRIVATE_KEY
preventing SSH authentication inside cli (#81) SECRET_SSH_PRIVATE_KEY
should now be base64 encoded, otherwise it cannot be reliably set and passed via an environment variable- Refactored user level
ENV
variables in Dockerfile- These make sense in the context of the docker user only and should be set in /home/docker/.profile, which is automatically sources for login sessions (bash -l)
HOME=/home/docker
is not necessary, as that variable is already set correctly after using theUSER
docker directive
- Set
BUNDLE_PATH
in user profile. Also change it to.bundle
, not.bundler
. Without this, bundler installs gems globally by default (in~/.bundle
) - Refactored Acquia Cloud API authentication
- Using
drush ac-api-login
to generate the config - Checking that the config is valid with
drush ac-site-list
- Using
- Removed
sudo
inxdebug_enable
. It is not needed, since the script runs as root anyway. - Updated tests
- Fixed
HOME
path inCOPY
commands in Dockerfile - Removed Acquia config template check
- Added Acquia Cloud API tests case
- Split
make
andmake test
in.travis.yml
. This way, they can be viewed easier separately, including timings.
- Fixed
- Added APCu pecl extension (#75)
v2.4.0
- Added
ping
utility - Removed the git version override
- Debian Stretch ships with git v2.11.0, so the override introduced in #25 is no longer necessary.
- Switched
mssql
andgit-lfs
repos fromjessie
tostretch
- Removed packages installed upstream as persistent
ca-certificates
,curl
g++
- we've been considering this a build dependency only, so it was uninstalled at the end of the build. This closes docksal/docksal#713.
- Removed
zsh
(not used) - Fixed a typo in
chown
instartup.sh
- Added tests for essential binaries
- Updated README.md
v2.3.0
New features
Changes and improvements
- Refactored supervisord configuration
- Fixed chmod in startup.sh
- Use
1000:1000
by default ifHOST_UID/HOST_GID
are not set (e.g. in PWD environments)
- Use
- Made sure the latest release and stable tags match (#56)
- Refactored PHP tools installation
- Switched to using
consolidation/cgr
instead ofcomposer global require
- Switched to installing
mg2-codegen
via Composer. See:
- Switched to using
- Added a function to remote the
SECRET_
prefix for secrets at startup (SECRET_VAR1
=>VAR1
)- The prefix is used by Docksal to namespace and protect secrets set via ENV variables.
- Switched to using bash login sessions (
bash -l
) to have~/.profile
automatically sourced.- Dropped
.docksalrc
, since it's no longer necessary. - All user level variables and runtime scripts should be included in
~/.profile
only. - Simplified command mode command in
startup.sh
- Dropped
- Refactor and updated tests
- Removed global
SKIP=1
in tests to make sure it's not committed accidentally - Updated tests to use Makefile commands where possible
- Switched to bash login sessions (
bash -lc
/bash -ilc
) in tests
- Removed global
Resulting image size changes (compared to 2.2.0):
php5.6: 297 MB => 300 MB (+3 MB)
php7.0: 311 MB => 311 MB (+- 0 MB)
php7.1: 312 MB => 311 MB (- 1 MB)
php7.2: 313 MB => 312 MB (- 1 MB)
v2.2.0
- Silence
terminus auth:login
(otherwise it shows up infin run-cli
) - Fix
id_rsa
key file permissions to avoid ssh warnings (Fixes #44) - Added a timestamp in
echo-debug
instartup.sh
(helps better understand container startup times) - Fixed Blackfire PHP settings (Fixes docksal/docksal#561)
- These got accidentally dropped during the 2.0 cli image upgrade
- Debian Stretch compatibility fix for 5.6, 7.0 and 7.1
- Upstream
php:x.y-fpm
images switched to Debian Stretch. 7.2 was already on Stretch.
- Upstream
Resulting image size changes (compared to 2.1.0):
- php5.6: 359 MB => 297 MB (-62 MB)
- php7.0: 373 MB => 311 MB (- 62 MB)
- php7.1: 373 MB => 312 MB (- 61 MB)
- php7.2: 312 MB => 313 MB (+ 1MB)