Fix the Docker build when installing go-sqlite

Go-SQLite requires sqlite library headers and gcc.
pull/48/head
kaiyou 6 years ago
parent 11de25237d
commit 38184f4d13
  1. 2
      Dockerfile

@ -1,6 +1,6 @@
FROM golang:1.11.2-alpine3.8 as build FROM golang:1.11.2-alpine3.8 as build
RUN apk add --update nodejs nodejs-npm make git RUN apk add --update nodejs nodejs-npm make g++ git sqlite-dev
RUN npm install -g less RUN npm install -g less
RUN npm install -g less-plugin-clean-css RUN npm install -g less-plugin-clean-css

Loading…
Cancel
Save