@fishawack/lab-env 4.11.1 → 4.12.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 +3 -0
- package/core/1/CHANGELOG.md +5 -0
- package/core/1/Dockerfile +8 -11
- package/core/1/entrypoint.sh +1 -1
- package/core/1/package.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/core/1/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
## Changelog
|
|
2
2
|
|
|
3
|
+
### 1.1.5 (2023-02-25)
|
|
4
|
+
* [fix] install eb cli into root of image rather than root user directory
|
|
5
|
+
* [perf] dont recurse and dont change group of node_modules to speed up command
|
|
6
|
+
* [refactor] set node git flag without switching user directly in dockerfile
|
|
7
|
+
|
|
3
8
|
### 1.1.4 (2023-02-23)
|
|
4
9
|
* [Fix] Installed missing are-you-es5 global npm module
|
|
5
10
|
* [Fix] Installed missing check-dependencies global npm module
|
package/core/1/Dockerfile
CHANGED
|
@@ -26,9 +26,7 @@ ENV PATH="${PATH}:/dart-sass/"
|
|
|
26
26
|
RUN rm -rf /sass.tar.gz
|
|
27
27
|
|
|
28
28
|
# Set safe directory to remove intel errors when running git rev-parse
|
|
29
|
-
|
|
30
|
-
RUN git config --global --add safe.directory /app
|
|
31
|
-
USER root
|
|
29
|
+
RUN su node -c "git config --global --add safe.directory /app"
|
|
32
30
|
|
|
33
31
|
# Install lftp
|
|
34
32
|
RUN apt-get install -y lftp
|
|
@@ -69,14 +67,13 @@ RUN apt-get install -y ghostscript
|
|
|
69
67
|
RUN apt-get install zip
|
|
70
68
|
|
|
71
69
|
# Install AWS Elastic Beanstalk cli
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
RUN
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
USER root
|
|
70
|
+
ENV PATH="${PATH}:/.pyenv/versions/3.7.2/bin"
|
|
71
|
+
ENV PATH="${PATH}:/.ebcli-virtual-env/executables"
|
|
72
|
+
RUN apt-get install -y zlib1g-dev libssl-dev libncurses-dev libffi-dev libsqlite3-dev libreadline-dev libbz2-dev && \
|
|
73
|
+
git clone https://github.com/aws/aws-elastic-beanstalk-cli-setup.git ~/aws-eb --depth 1 --branch v0.1.2 && \
|
|
74
|
+
PYENV_ROOT=/.pyenv ~/aws-eb/scripts/python_installer && \
|
|
75
|
+
python ~/aws-eb/scripts/ebcli_installer.py --location / && \
|
|
76
|
+
rm -rf ~/aws-eb
|
|
80
77
|
|
|
81
78
|
# Install AWS-CLI@2 (arch switch)
|
|
82
79
|
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-$(if [ "$TARGETARCH" = "arm64" ]; then echo 'aarch64'; else echo 'x86_64'; fi).zip" -o "awscliv2.zip"
|
package/core/1/entrypoint.sh
CHANGED
|
@@ -6,7 +6,7 @@ if [ -z "$FW_ROOT" ]; then
|
|
|
6
6
|
usermod -u $USER_UID node &>/dev/null
|
|
7
7
|
|
|
8
8
|
# Own the node_modules folder otherwise it'll be owned by root/previous node id which will prevent writing
|
|
9
|
-
chown
|
|
9
|
+
chown node /app/node_modules
|
|
10
10
|
|
|
11
11
|
# Default arguments will always be bash -l, if nothing follows this just start an non login interactive shell
|
|
12
12
|
if [ -z "${@:3}" ]; then
|
package/core/1/package.json
CHANGED