Add autorelease for linux distros, osx and windows (#923)

This commit is contained in:
Steve Chávez
2017-09-05 18:37:15 -05:00
committed by Joe Nelson
parent adb3f5c8c0
commit 4901f4327f
9 changed files with 366 additions and 29 deletions
+18
View File
@@ -0,0 +1,18 @@
FROM ubuntu:16.04
RUN BUILD_DEPS="curl ca-certificates build-essential" && \
apt-get -qq update && \
apt-get -qqy --no-install-recommends install \
$BUILD_DEPS \
libpq-dev && \
curl -sSL https://get.haskellstack.org/ | sh && \
apt-get -qq clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# To disable warning when building
ENV PATH $PATH:/root/.local/bin
RUN mkdir /source
WORKDIR /source
ENTRYPOINT ["stack"]