Skip to content

Commit

Permalink
feat: up-to-date docker agent
Browse files Browse the repository at this point in the history
  • Loading branch information
moul committed Mar 12, 2020
1 parent fee2733 commit 2df6785
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
16 changes: 16 additions & 0 deletions Dockerfile.agent
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# builder
FROM golang:1.14-alpine as builder
RUN apk --no-cache --update add nodejs-npm make gcc g++ musl-dev openssl-dev git perl-utils
RUN go get github.com/gobuffalo/packr/v2/packr2
ENV GO111MODULE=on GOPROXY=https://proxy.golang.org,direct
COPY go.mod go.sum /go/src/pathwar.land/
WORKDIR /go/src/pathwar.land
RUN go mod download
COPY . .
WORKDIR /go/src/pathwar.land/go
RUN make packr
RUN make install

# FROM devago/docker-compose
COPY --from=builder /bin/pathwar /bin/
ENTRYPOINT ["/bin/pathwar"]
4 changes: 0 additions & 4 deletions tool/docker-agent/Dockerfile

This file was deleted.

0 comments on commit 2df6785

Please sign in to comment.