Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
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/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment