@fishawack/lab-env 1.16.0 → 1.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## Changelog
2
2
 
3
+ ### 1.17.0 (2022-01-27)
4
+ * [Feature] Drupals php image now contains imagemagick and imagick
5
+ * [Change] Drupals php image is now labelled and tagged
6
+
3
7
  ### 1.16.0 (2022-01-25)
4
8
  * [Feature] lab-env now checks if docker process is running. Only `origin` and `--version` commands allowed if not
5
9
 
@@ -33,6 +33,7 @@ services:
33
33
  build:
34
34
  context: ./php/
35
35
  dockerfile: Dockerfile
36
+ image: lab-env/drupal/9/php:0.0.1
36
37
  init: true
37
38
  working_dir: /app
38
39
  networks:
@@ -6,6 +6,12 @@ MAINTAINER Mike Mellor
6
6
  RUN apt-get update && \
7
7
  apt-get install -y mariadb-client
8
8
 
9
+ # Install Imagemagick
10
+ RUN apt-get install -y libmagickwand-dev --no-install-recommends
11
+
12
+ # PHP Imagick ext
13
+ RUN pecl install imagick && docker-php-ext-enable imagick
14
+
9
15
  # Cleanup apt-get install folders
10
16
  RUN apt-get clean && \
11
17
  rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fishawack/lab-env",
3
- "version": "1.16.0",
3
+ "version": "1.17.0",
4
4
  "description": "Docker manager for FW",
5
5
  "main": "cli.js",
6
6
  "scripts": {