Skip to content

Commit 2a8aad8

Browse files
committed
ref(tests): use ubuntu:14.04 as Dockerfile base image
1 parent fd40631 commit 2a8aad8

3 files changed

Lines changed: 11 additions & 6 deletions

File tree

tests/bin/prime-docker-images.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ docker rm `docker ps -a -q`
1111
docker rmi -f `docker images -q`
1212

1313
# Pull Deis testing essentials
14-
docker pull deis/base:latest
14+
docker pull ubuntu:14.04
1515
docker pull deis/slugbuilder:latest
1616
docker pull deis/slugrunner:latest
1717
docker pull deis/test-etcd:latest

tests/bin/setup-node.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ echo 'export PATH=$PATH:/usr/local/go/bin' >> /etc/profile
2929

3030
# install test suite requirements
3131
apt-get install -yq python-dev libpq-dev libyaml-dev git postgresql postgresql-client
32-
RUN wget -qO- https://raw.githubusercontent.com/pypa/pip/1.5.5/contrib/get-pip.py | python -
32+
RUN curl -sSL https://raw.githubusercontent.com/pypa/pip/1.5.5/contrib/get-pip.py | python -
3333
pip install virtualenv
3434

3535
# create jenkins user and install node bootstrap script

tests/etcdutils/Dockerfile

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1-
FROM ubuntu:12.04
1+
FROM ubuntu:14.04
22

3-
# Download etcdctl binary -- keep in sync with CoreOS' version.
4-
ADD https://s3-us-west-2.amazonaws.com/opdemand/etcdctl-v0.4.6 /usr/local/bin/etcdctl
5-
RUN chmod +x /usr/local/bin/etcdctl
3+
ENV DEBIAN_FRONTEND noninteractive
4+
5+
# install common packages
6+
RUN apt-get update && apt-get install -y curl
7+
8+
# install etcdctl
9+
RUN curl -sSL -o /usr/local/bin/etcdctl https://s3-us-west-2.amazonaws.com/opdemand/etcdctl-v0.4.6 \
10+
&& chmod +x /usr/local/bin/etcdctl
611

712
# build etcd and then clean up
813
RUN buildDeps='curl git-core'; \

0 commit comments

Comments
 (0)