diff --git a/e2e/migrations/Dockerfile b/e2e/migrations/Dockerfile index 7dfe05c1a..ed9a4469b 100644 --- a/e2e/migrations/Dockerfile +++ b/e2e/migrations/Dockerfile @@ -6,18 +6,10 @@ RUN apt-get install -y \ build-essential \ git \ golang \ - liblxc1 \ - libpcre3-dev \ - lxc-dev \ - lxc-templates \ - pkg-config - -ENV NOMAD_VERSION 0.7.0-beta1 -ENV NOMAD_SHA256 174794d96d2617252875e2e2ff9e496120acc4a97be54965c324b9a5d11b37ab + liblxc1 ENV GOPATH=$HOME/gopkg ENV PATH=$PATH:$GOPATH/bin:/usr/local/lib -ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib COPY nomad /bin/nomad diff --git a/e2e/migrations/docker-run.sh b/e2e/migrations/docker-run.sh index ccd13ce5d..94ad6a47f 100755 --- a/e2e/migrations/docker-run.sh +++ b/e2e/migrations/docker-run.sh @@ -1,3 +1,3 @@ -CURRENT_DIRECTORY=` pwd` +CURRENT_DIRECTORY=`pwd` docker run --privileged -v $CURRENT_DIRECTORY:/gopkg/src/migrations -it nomad-e2e /bin/bash -c "cd gopkg/src/migrations && go test"