@fishawack/lab-env 1.12.1 → 1.13.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,10 @@
1
1
  ## Changelog
2
2
 
3
+ ### 1.13.0 (2021-12-03)
4
+ * [Feature] Installed elastic beanstalk cli into the core image
5
+ * [Feature] Core image now mounts the .aws folder
6
+ * [Change] Switched mysql to 8.0.23 for Drupal builds
7
+
3
8
  ### 1.12.1 (2021-11-26)
4
9
  * [Bug] Pass along errors thrown in new _.up function so commands correctly come to a stop when errors are thrown
5
10
 
@@ -129,6 +129,13 @@ RUN apt-get install -y dos2unix
129
129
 
130
130
  RUN apt-get install -y locales
131
131
 
132
+ # Install AWS Elastic Beanstalk cli
133
+ RUN apt-get install -y zlib1g-dev libssl-dev libncurses-dev libffi-dev libsqlite3-dev libreadline-dev libbz2-dev
134
+
135
+ RUN git clone https://github.com/aws/aws-elastic-beanstalk-cli-setup.git
136
+ RUN ./aws-elastic-beanstalk-cli-setup/scripts/bundled_installer
137
+ RUN rm -rf ./aws-elastic-beanstalk-cli-setup
138
+
132
139
  RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \
133
140
  locale-gen
134
141
 
@@ -198,6 +205,7 @@ export gal="31.170.122.20"\n\
198
205
  export grunt="grunt --gruntfile node_modules/@fishawack/core/Gruntfile.js"\n\
199
206
  export gruntOld="grunt --gruntfile node_modules/@fishawack/config-grunt/Gruntfile.js"\n\
200
207
  export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\[\033[31m\]\$(parse_git_branch)\[\033[00m\]\$ "\n\
208
+ export PATH="/root/.ebcli-virtual-env/executables:$PATH"\n\
201
209
  alias ls="ls -l -GFh"\n\
202
210
  # Load in enviroment variables if they exist in the root of the project\n\
203
211
  if [ -f ./env.sh ]; then . ./env.sh; fi\n\
@@ -12,6 +12,7 @@ services:
12
12
  - $HOME/.gitconfig:/root/.gitconfig
13
13
  - $HOME/targets:/root/targets
14
14
  - $HOME/.ssh:/root/.ssh
15
+ - $HOME/.aws:/root/.aws
15
16
  - node_modules:/app/node_modules
16
17
  ports:
17
18
  - ${PORT:-3000}:${PORT:-3000}
@@ -1,6 +1,6 @@
1
1
  services:
2
2
  mysql:
3
- image: mysql:8.0.12
3
+ image: mysql:8.0.23
4
4
  networks:
5
5
  - default
6
6
  environment:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fishawack/lab-env",
3
- "version": "1.12.1",
3
+ "version": "1.13.0",
4
4
  "description": "Docker manager for FW",
5
5
  "main": "cli.js",
6
6
  "scripts": {