forked from gruntwork-io/bash-commons
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request gruntwork-io#17 from gruntwork-io/yori-ubuntu18
Add testing for ubuntu18.04
- Loading branch information
Showing
4 changed files
with
51 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
FROM ubuntu:18.04 | ||
MAINTAINER Gruntwork <[email protected]> | ||
|
||
# Install basic dependencies | ||
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \ | ||
apt-get install -y vim python-pip jq sudo curl | ||
|
||
# Install Bats | ||
RUN apt-get install -y software-properties-common && \ | ||
add-apt-repository ppa:duggan/bats && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get update && \ | ||
apt-get install -y bats | ||
|
||
# Install AWS CLI | ||
RUN pip install awscli --upgrade --user | ||
|
||
# Install moto: https://github.com/spulec/moto | ||
RUN pip install flask moto moto[server] | ||
|
||
# Install tools we'll need to create a mock EC2 metadata server | ||
RUN apt-get install -y net-tools iptables | ||
|
||
# Copy mock AWS CLI into the PATH | ||
COPY ./.circleci/aws-local.sh /usr/local/bin/aws |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters