Commit ec559901 authored by nimrod's avatar nimrod
Browse files

Use same distro to build Golang binaries.

Instead of using Alpine (which uses Musl) use Debian Buster.
parent 2d13562f
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
FROM golang:1.11-alpine3.8 as golang
RUN apk --update add git && \
    /usr/local/go/bin/go get github.com/spelufo/on-change && \
    /usr/local/go/bin/go get github.com/sugyan/ttyrec2gif
FROM golang:1.13-buster as golang
RUN go get github.com/spelufo/on-change && \
    go get github.com/sugyan/ttyrec2gif

FROM debian:buster-slim
COPY --from=golang /go/bin/on-change /go/bin/ttyrec2gif /usr/local/bin/