Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.

Commit

Permalink
add support for more recent nomad version
Browse files Browse the repository at this point in the history
  • Loading branch information
David Bresson committed Jun 20, 2018
1 parent e1cfdea commit 0f43c85
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM golang:1.8.0-alpine
ARG NOMAD_VERSION=0.5.5
FROM golang:1.10.3-alpine
ARG NOMAD_VERSION=0.8.4
COPY context /context
RUN apk add --no-cache tar make git gcc musl-dev zip tree bash
WORKDIR $GOPATH/src/github.com/hashicorp/
Expand All @@ -8,8 +8,8 @@ WORKDIR nomad
RUN git fetch
RUN git checkout v${NOMAD_VERSION} &&\
make bootstrap &&\
make bin &&\
cp $GOPATH/bin/nomad /context/
make pkg/linux_amd64/nomad &&\
cp pkg/linux_amd64/nomad /context/
WORKDIR /context
USER nobody
CMD ["tar", "cz", "."]

0 comments on commit 0f43c85

Please sign in to comment.