Skip to content

Releases: docksal/service-cli

v2.10.0

12 Nov 21:14
d7ef3d3
Compare
Choose a tag to compare
  • 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

21 Oct 18:52
5d0ab37
Compare
Choose a tag to compare
  • VS Code Server integration
    • Replaced Cloud9 with VS Code Server (v1.1156-vsc1.33.1)
    • VS Code gitlens and xdebug extensions are preinstalled
    • Implemented support for the dedicated IDE container mode
  • Added the drupal-check phar file to CLI

v2.8.0

19 Sep 21:04
095ca43
Compare
Choose a tag to compare
  • Switched to Debian 10 (Buster) based upstream PHP-FPM images

v2.7.0

18 Sep 03:24
5da8cc2
Compare
Choose a tag to compare
  • 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 and msmtp
    • Added --read-envelope-from option for msmtp
  • 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

17 Jan 05:51
f1aecce
Compare
Choose a tag to compare
  • 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 the docker user
    • Additional versions can be installed via rvm. See docs.
  • 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.
  • Switched to running startup.sh script as the docker 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 with msmtp 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

01 Oct 20:32
7d09f43
Compare
Choose a tag to compare

v2.5.0

21 Sep 16:08
d6b6482
Compare
Choose a tag to compare
  • Set en_US.UTF-8 as the default locale (#692)
  • git user.email and user.name are now configurable via env variables (GIT_USER_EMAIL and GIT_USER_NAME) (#80)
  • Set max_input_vars to 2000 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 the USER 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
  • Removed sudo in xdebug_enable. It is not needed, since the script runs as root anyway.
  • Updated tests
    • Fixed HOME path in COPY commands in Dockerfile
    • Removed Acquia config template check
    • Added Acquia Cloud API tests case
    • Split make and make test in .travis.yml. This way, they can be viewed easier separately, including timings.
  • Added APCu pecl extension (#75)

v2.4.0

31 Jul 01:31
3e9dffd
Compare
Choose a tag to compare
  • 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 and git-lfs repos from jessie to stretch
  • 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 in startup.sh
  • Added tests for essential binaries
  • Updated README.md

v2.3.0

17 Jul 03:51
f694b44
Compare
Choose a tag to compare

New features

  • Cloud9 IDE integration (#48)
  • Platform.sh CLI (#54)
  • Custom startup script (#55)
  • Cron jobs (#64)

Changes and improvements

  • Refactored supervisord configuration
  • Fixed chmod in startup.sh
    • Use 1000:1000 by default if HOST_UID/HOST_GID are not set (e.g. in PWD environments)
  • Made sure the latest release and stable tags match (#56)
  • Refactored PHP tools installation
  • 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
  • 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

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

30 May 19:43
e6c0755
Compare
Choose a tag to compare
  • Silence terminus auth:login (otherwise it shows up in fin run-cli)
  • Fix id_rsa key file permissions to avoid ssh warnings (Fixes #44)
  • Added a timestamp in echo-debug in startup.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.

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)