open-nomad/e2e/migrations/Dockerfile
2017-10-20 15:28:49 -04:00

21 lines
354 B
Docker

FROM ubuntu:17.10
RUN apt-get update -y
RUN apt-get install -y \
build-essential \
git \
golang \
liblxc1
ENV GOPATH=$HOME/gopkg
ENV PATH=$PATH:$GOPATH/bin:/usr/local/lib
COPY nomad /bin/nomad
RUN mkdir -p /nomad/data && \
mkdir -p /etc/nomad && \
mkdir -p gopkg/src/migrations
RUN go get github.com/stretchr/testify/assert