Enable new static flag for packaging Linux

This commit is contained in:
Gregory Schier 2018-06-26 14:42:44 -04:00
parent f72f1d5f0a
commit 935d5cb602
2 changed files with 3 additions and 0 deletions

View File

@ -67,6 +67,7 @@ RUN wget -q https://github.com/curl/curl/releases/download/curl-7_59_0/curl-7.59
ADD . /src/insomnia
WORKDIR /src/insomnia
VOLUME /src/insomnia/packages/insomnia-app/dist
ENV NODELIBCURL_BUILD_STATIC=yes
# Install root project dependencies
RUN npm run bootstrap \

View File

@ -2,5 +2,7 @@ version: '3'
services:
package:
build: .
environment:
- 'NODELIBCURL_BUILD_STATIC=yes'
volumes:
- ./packages/insomnia-app/dist:/src/insomnia/packages/insomnia-app/dist