2017-10-20 18:10:30 +00:00
|
|
|
FROM ubuntu:17.10
|
|
|
|
|
|
|
|
RUN apt-get update -y
|
|
|
|
|
|
|
|
RUN apt-get install -y \
|
|
|
|
build-essential \
|
|
|
|
git \
|
|
|
|
golang \
|
2017-10-20 19:28:49 +00:00
|
|
|
liblxc1
|
2017-10-20 18:10:30 +00:00
|
|
|
|
|
|
|
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 && \
|
2017-10-25 00:56:19 +00:00
|
|
|
mkdir -p gopkg/src/github.com/nomad
|
2017-10-20 18:10:30 +00:00
|
|
|
|
|
|
|
RUN go get github.com/stretchr/testify/assert
|