Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 17 lines (11 sloc) 597 Bytes
FROM golang:1.12-alpine as builder
ENV GO111MODULE=on
RUN apk add --no-cache make curl git gcc musl-dev linux-headers
RUN curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
ADD . /go/src/github.com/linkpoolio/bridges
RUN cd /go/src/github.com/linkpoolio/bridges/examples/wolframalpha && go get && go build -o wolframalpha
# Copy into a second stage container
FROM alpine:latest
RUN apk add --no-cache ca-certificates
COPY --from=builder /go/src/github.com/linkpoolio/bridges/examples/wolframalpha/wolframalpha /usr/local/bin/
ENTRYPOINT ["wolframalpha"]
You can’t perform that action at this time.