Skip to content

Commit

Permalink
Update for AWS SAM CLI, pnpm added, tags for NodeJS v14 removed
Browse files Browse the repository at this point in the history
  • Loading branch information
peniakoff committed Jul 1, 2024
1 parent 3332014 commit cb18d64
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/awesome-deploy-jdk11-node18.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
with:
context: jdk11-node18/.
push: true
tags: peniakoff/awesome-deploy:jdk11-node18-latest,peniakoff/awesome-deploy:jdk11-node14-latest
tags: peniakoff/awesome-deploy:jdk11-node18-latest
2 changes: 1 addition & 1 deletion .github/workflows/awesome-deploy-jdk8-node18.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
with:
context: jdk8-node18/.
push: true
tags: peniakoff/awesome-deploy:jdk8-node18-latest,peniakoff/awesome-deploy:jdk8-node14-latest
tags: peniakoff/awesome-deploy:jdk8-node18-latest
2 changes: 1 addition & 1 deletion .github/workflows/awesome-deploy-node18.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
with:
context: node18/.
push: true
tags: peniakoff/awesome-deploy:node18-latest,peniakoff/awesome-deploy:node14-latest
tags: peniakoff/awesome-deploy:node18-latest
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
# AWeSome-deploy

---
### Attention! ###

**NodeJS v14 is deprecated! It means all images cotaining NodeJS v14 have been upgraded to NodeJS v18. Tags with old name convention have been stored just for compatibilit and they will be removed in the future!**

---

Docker linux image for deployment (eg. via Bitbucket's Pipelines) to AWS

Depends on the tag image contains different tools for deploying your stuff to AWS.
Core for Dockerimage based on the `debian:stable` image and by default contains Amazon Corretto 11 JDK, Maven, Python 3, Make, AWS SAM CLI (`v1.94.0`) and AWS CLI.
Core for Dockerimage based on the `debian:stable` image and by default contains Amazon Corretto 11 JDK, Maven, Python 3, Make, AWS SAM CLI (`v1.120.0`) and AWS CLI.

Default Linux timezone is set to Europe/Warsaw and file encoding is set to UTF-8.

Expand Down
6 changes: 5 additions & 1 deletion jdk11-node18/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ RUN yarn -v
RUN npm install -g typescript
RUN tsc -v

# Installing pnpm
RUN npm install -g pnpm
RUN pnpm -v

# Default to UTF-8 file.encoding
ENV LANG=C.UTF-8 \
LC_ALL=C.UTF-8 \
Expand All @@ -71,7 +75,7 @@ RUN git config --system --add safe.directory '*'
WORKDIR /home/pipelines

# Installing AWS-SAM-CLI
RUN curl -L -o "awssamcli.zip" "https://github.com/aws/aws-sam-cli/releases/download/v1.94.0/aws-sam-cli-linux-x86_64.zip" \
RUN curl -L -o "awssamcli.zip" "https://github.com/aws/aws-sam-cli/releases/download/v1.120.0/aws-sam-cli-linux-x86_64.zip" \
&& unzip -d awssamcli awssamcli.zip \
&& ./awssamcli/install
RUN sam --version
Expand Down
2 changes: 1 addition & 1 deletion jdk11/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ RUN git config --system --add safe.directory '*'
WORKDIR /home/pipelines

# Installing AWS-SAM-CLI
RUN curl -L -o "awssamcli.zip" "https://github.com/aws/aws-sam-cli/releases/download/v1.94.0/aws-sam-cli-linux-x86_64.zip" \
RUN curl -L -o "awssamcli.zip" "https://github.com/aws/aws-sam-cli/releases/download/v1.120.0/aws-sam-cli-linux-x86_64.zip" \
&& unzip -d awssamcli awssamcli.zip \
&& ./awssamcli/install
RUN sam --version
Expand Down
6 changes: 5 additions & 1 deletion jdk8-node18/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ RUN yarn -v
RUN npm install -g typescript
RUN tsc -v

# Installing pnpm
RUN npm install -g pnpm
RUN pnpm -v

# Default to UTF-8 file.encoding
ENV LANG=C.UTF-8 \
LC_ALL=C.UTF-8 \
Expand All @@ -71,7 +75,7 @@ RUN git config --system --add safe.directory '*'
WORKDIR /home/pipelines

# Installing AWS-SAM-CLI
RUN curl -L -o "awssamcli.zip" "https://github.com/aws/aws-sam-cli/releases/download/v1.94.0/aws-sam-cli-linux-x86_64.zip" \
RUN curl -L -o "awssamcli.zip" "https://github.com/aws/aws-sam-cli/releases/download/v1.120.0/aws-sam-cli-linux-x86_64.zip" \
&& unzip -d awssamcli awssamcli.zip \
&& ./awssamcli/install
RUN sam --version
Expand Down
2 changes: 1 addition & 1 deletion jdk8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ RUN git config --system --add safe.directory '*'
WORKDIR /home/pipelines

# Installing AWS-SAM-CLI
RUN curl -L -o "awssamcli.zip" "https://github.com/aws/aws-sam-cli/releases/download/v1.94.0/aws-sam-cli-linux-x86_64.zip" \
RUN curl -L -o "awssamcli.zip" "https://github.com/aws/aws-sam-cli/releases/download/v1.120.0/aws-sam-cli-linux-x86_64.zip" \
&& unzip -d awssamcli awssamcli.zip \
&& ./awssamcli/install
RUN sam --version
Expand Down
6 changes: 5 additions & 1 deletion node18/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ RUN yarn -v
RUN npm install -g typescript
RUN tsc -v

# Installing pnpm
RUN npm install -g pnpm
RUN pnpm -v

# Default to UTF-8 file.encoding
ENV LANG=C.UTF-8 \
LC_ALL=C.UTF-8 \
Expand All @@ -57,7 +61,7 @@ RUN git config --system --add safe.directory '*'
WORKDIR /home/pipelines

# Installing AWS-SAM-CLI
RUN curl -L -o "awssamcli.zip" "https://github.com/aws/aws-sam-cli/releases/download/v1.94.0/aws-sam-cli-linux-x86_64.zip" \
RUN curl -L -o "awssamcli.zip" "https://github.com/aws/aws-sam-cli/releases/download/v1.120.0/aws-sam-cli-linux-x86_64.zip" \
&& unzip -d awssamcli awssamcli.zip \
&& ./awssamcli/install
RUN sam --version
Expand Down

0 comments on commit cb18d64

Please sign in to comment.