From 6e5606daed6edcf6c58840e707fe5d0cb89ad32c Mon Sep 17 00:00:00 2001 From: elenmaxa Date: Tue, 26 May 2020 10:31:24 +0300 Subject: [PATCH 1/5] Rework for Python --- Dockerfile | 12 ++++++------ README.md | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 96458cb..03438e1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,15 +1,15 @@ -FROM node:10-slim +FROM lambci/lambda:build-python3.7 LABEL version="1.0.0" -LABEL repository="https://github.com/serverless/github-action" -LABEL homepage="https://github.com/serverless/github-action" -LABEL maintainer="Serverless, Inc. (https://serverless.com)" +LABEL repository="https://github.com/thesubaba/serverless-github-action-python" +LABEL homepage="https://github.com/thesubaba/serverless-github-action-python" +LABEL maintainer="The Subaba " LABEL "com.github.actions.name"="Serverless" LABEL "com.github.actions.description"="Wraps the Serverless Framework to enable common Serverless commands." LABEL "com.github.actions.icon"="zap" LABEL "com.github.actions.color"="red" -RUN npm i -g serverless@1.54.0 -ENTRYPOINT ["serverless"] +RUN npm i -g serverless@1.53.0 +ENTRYPOINT ["serverless"] \ No newline at end of file diff --git a/README.md b/README.md index 4f8daf1..4a71b63 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ jobs: with: args: install - name: serverless deploy - uses: serverless/github-action@master + uses: thesubaba/serverless-github-action-python@master with: args: deploy env: From eeef99fee6e4093050541351230849ec9eb36a00 Mon Sep 17 00:00:00 2001 From: elenmaxa Date: Tue, 26 May 2020 10:37:29 +0300 Subject: [PATCH 2/5] Fix Dockerfile --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 03438e1..d9807d5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,4 @@ +FROM node:10-slim FROM lambci/lambda:build-python3.7 From 91f22cac247e3db06925fc5ab53de9fd78c4d22f Mon Sep 17 00:00:00 2001 From: elenmaxa Date: Tue, 26 May 2020 10:41:26 +0300 Subject: [PATCH 3/5] Fix Dockerfile --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d9807d5..87d4765 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,3 @@ -FROM node:10-slim FROM lambci/lambda:build-python3.7 @@ -12,5 +11,5 @@ LABEL "com.github.actions.description"="Wraps the Serverless Framework to enable LABEL "com.github.actions.icon"="zap" LABEL "com.github.actions.color"="red" -RUN npm i -g serverless@1.53.0 +RUN npm i -g serverless ENTRYPOINT ["serverless"] \ No newline at end of file From 5560270f42fede2ece06dbdda59031e271f50e2e Mon Sep 17 00:00:00 2001 From: elenmaxa Date: Tue, 26 May 2020 10:46:24 +0300 Subject: [PATCH 4/5] Fix Dockerfile --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 87d4765..2eeb9a3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ -FROM lambci/lambda:build-python3.7 +FROM python:3.7-slim +FROM node:10-slim LABEL version="1.0.0" @@ -11,5 +12,5 @@ LABEL "com.github.actions.description"="Wraps the Serverless Framework to enable LABEL "com.github.actions.icon"="zap" LABEL "com.github.actions.color"="red" -RUN npm i -g serverless +RUN npm i -g serverless@1.54.0 ENTRYPOINT ["serverless"] \ No newline at end of file From 80ab79c52f50310624bb0bdaf9fa9365380b1160 Mon Sep 17 00:00:00 2001 From: elenmaxa Date: Tue, 26 May 2020 10:49:12 +0300 Subject: [PATCH 5/5] Fix Dockerfile --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2eeb9a3..ea4ace1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,4 @@ -FROM python:3.7-slim -FROM node:10-slim +FROM nikolaik/python-nodejs:python3.7-nodejs12 LABEL version="1.0.0"