~fnux/yggdrasil-go-coap

yggdrasil-go-coap/Dockerfile -rw-r--r-- 348 bytes
614f652bTimothée Floure Add syntax highlighting to code snippets in README 1 year, 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
FROM golang:1.11-alpine3.8 AS build

RUN apk add --no-cache curl git build-base && \
	curl -SL -o /usr/bin/dep https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-amd64 && \
	chmod +x /usr/bin/dep

ENV MAINDIR $GOPATH/src/github.com/go-ocf/go-coap
WORKDIR $MAINDIR
COPY Gopkg.toml Gopkg.lock ./
RUN dep ensure -v --vendor-only
COPY . .