-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
24 lines (19 loc) · 1 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# AWS CodeBuild Docker File.
#
# This docker file is used to build the CodeBuild docker image that the `buildspec-pr.yml` and `buildspec-sync.yml`
# files use during the build process. Every tool that you use in those files to sync your files and run linters and
# validators should ideally be installed in this docker image.
#
# You will need to push this docker image to the ECR repository after you build it.
#
# NOTE: CloudGenesis' project repo contains a `template-ecr-buildimage.yaml` setup file that creates the ECR repo for
# you. You must either use that template to create the ECR repo OR you must create your own CloudFormation template that
# creates an ECR. The CloudGenesis SAM stack requires you to pass the ECR Repo name into the stack.
FROM amazonlinux:latest
MAINTAINER Ryan Means <[email protected]>
RUN yum -y update && \
yum -y install ruby22 && \
yum -y install python36 python36-virtualenv python36-pip
RUN python3.6 -m pip install boto boto3 pytest
RUN gem install cfn-nag
RUN yum clean all