This commit is contained in:
2018-12-13 19:33:04 +01:00
parent 5088116365
commit bc74cdd9f0
4 changed files with 15 additions and 11 deletions

View File

@@ -4,13 +4,15 @@ RUN apt-get update -yy && \
RUN curl -s https://storage.googleapis.com/golang/go1.11.2.linux-amd64.tar.gz | tar -C /usr/local -xzf -
ENV GOPATH=/go
ENV CGO_LDFLAGS_ALLOW=".*"
ENV CGO_CFLAGS_ALLOW=".*"
ENV PATH=$PATH:/usr/local/go/bin:/go/bin
RUN mkdir -p /go/bin
ADD . /go/src/git.deineagentur.com/DeineAgenturUG/go-xmlsec
WORKDIR /go/src/git.deineagentur.com/DeineAgenturUG/go-xmlsec
RUN go get github.com/crewjam/errset
RUN go build -o /bin/xmldsig ./examples/xmldsig.go
RUN go build -v -o /bin/xmldsig ./examples/xmldsig.go
# Check our dynamic library dependencies. This will produce output like:
#