forked from g-farrow/github-action-aws-cdk-amazonlinux
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
21 lines (17 loc) · 773 Bytes
/
Copy pathDockerfile
File metadata and controls
21 lines (17 loc) · 773 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM amazonlinux:2
LABEL name="aws-cdk-action-for-python-project"
LABEL repository="https://github.com/muldos/aws-cdk-action-for-python-project"
LABEL homepage="https://github.com/muldos/aws-cdk-action-for-python-project"
LABEL "com.github.actions.name"="aws-cdk-action-for-python-project"
LABEL "com.github.actions.description"="GitHub Action for AWS CDK based on amazonlinux"
LABEL "com.github.actions.icon"="upload-cloud"
LABEL "com.github.actions.color"="yellow"
RUN yum -y update
RUN curl --silent --location https://rpm.nodesource.com/setup_12.x | bash -
RUN yum -y install nodejs python3-pip zip
RUN python3 --version
RUN npm install -g aws-cdk
COPY entrypoint.sh /entrypoint.sh
RUN ["chmod", "+x", "/entrypoint.sh"]
ENTRYPOINT ["/entrypoint.sh"]
CMD ["--help"]