Skip to content

Commit 9b5200e

Browse files
committed
Fix issue with installing moto on py2.7
1 parent c7de3dd commit 9b5200e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Dockerfile.ubuntu16.04.bats

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,14 @@ RUN apt-get install -y software-properties-common && \
1111
DEBIAN_FRONTEND=noninteractive apt-get update && \
1212
apt-get install -y bats
1313

14+
# Upgrade pip
15+
RUN pip install -U pip
16+
1417
# Install AWS CLI
1518
RUN pip install awscli --upgrade --user
1619

1720
# Install moto: https://github.com/spulec/moto
18-
RUN pip install flask moto moto[server]
21+
RUN pip install flask moto moto[server] networkx==2.2
1922

2023
# Install tools we'll need to create a mock EC2 metadata server
2124
RUN apt-get install -y net-tools iptables

0 commit comments

Comments
 (0)