Skip to content
Snippets Groups Projects
Commit 1283921d authored by ale's avatar ale
Browse files

Install libsqlite3-dev in build stage

parent 641c172b
No related branches found
No related tags found
No related merge requests found
Pipeline #15025 passed
......@@ -2,6 +2,7 @@ FROM golang:1.16 AS build
ADD . /src
WORKDIR /src
RUN apt-get -q update && apt-get install -y libsqlite3-dev
RUN env CGO_LDFLAGS=-lm go build -ldflags "-linkmode external -extldflags -static" -tags "netgo libsqlite3" -o /iprep ./cmd/iprep
FROM scratch
......
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