Update GO to 1.7.3 and cleanup formatting
This commit is contained in:
@@ -2,13 +2,13 @@ FROM ubuntu
|
||||
RUN apt-get update -yy && \
|
||||
apt-get install -yy git make curl libxml2-dev libxmlsec1-dev liblzma-dev pkg-config
|
||||
|
||||
RUN curl -s https://storage.googleapis.com/golang/go1.7.linux-amd64.tar.gz | tar -C /usr/local -xzf -
|
||||
RUN curl -s https://storage.googleapis.com/golang/go1.7.3.linux-amd64.tar.gz | tar -C /usr/local -xzf -
|
||||
ENV GOPATH=/go
|
||||
ENV PATH=$PATH:/usr/local/go/bin:/go/bin
|
||||
RUN mkdir -p /go/bin
|
||||
|
||||
ADD . /go/src/github.com/andy-miracl/go-xmlsec
|
||||
WORKDIR /go/src/github.com/andy-miracl/go-xmlsec
|
||||
ADD . /go/src/github.com/miracl/go-xmlsec
|
||||
WORKDIR /go/src/github.com/miracl/go-xmlsec
|
||||
RUN go get github.com/crewjam/errset
|
||||
RUN go build -o /bin/xmldsig ./examples/xmldsig.go
|
||||
|
||||
|
||||
Reference in New Issue
Block a user