Skip to content
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
RUN apk add --no-cache make curl git gcc musl-dev linux-headers
RUN curl | sh
ADD . /go/src/
RUN cd /go/src/ && 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/ /usr/local/bin/
ENTRYPOINT ["wolframalpha"]
You can’t perform that action at this time.