21 lines
360 B
Docker
21 lines
360 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/github.com/nomad
|
|
|
|
RUN go get github.com/stretchr/testify/assert
|