mirror of
https://github.com/dolthub/dolt.git
synced 2025-12-30 16:12:39 -06:00
10 lines
255 B
Docker
10 lines
255 B
Docker
FROM golang:1.14.2-buster as builder
|
|
WORKDIR /root/building/go
|
|
COPY ./go/ .
|
|
ENV GOFLAGS="-mod=readonly"
|
|
RUN go build -o dolt ./cmd/dolt
|
|
|
|
FROM ubuntu:18.04
|
|
COPY --from=builder /root/building/go/dolt /usr/local/bin/dolt
|
|
ENTRYPOINT [ "/usr/local/bin/dolt" ]
|