diff --git a/Dockerfile b/Dockerfile index e4178dd2..2134f7cc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,11 +7,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends clang ENV CGO_ENABLED 1 ENV CXX clang++ -WORKDIR /work +WORKDIR /go-zetasql COPY ./go.* ./ RUN go mod download COPY . ./ -RUN go install . +RUN go install -buildmode=archive .