mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-01-27 14:41:59 +01:00
Merge pull request #2295 from fpco/bootstrap-get-stack
debian-bootstrap.sh: changes to support re-use in building 'fpco/stack-build' Docker images
This commit is contained in:
commit
203d24e7ee
@ -13,7 +13,6 @@
|
|||||||
set -exu
|
set -exu
|
||||||
|
|
||||||
mkdir /home/stackage -p
|
mkdir /home/stackage -p
|
||||||
locale-gen en_US.UTF-8
|
|
||||||
|
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
apt-get update
|
apt-get update
|
||||||
@ -27,10 +26,6 @@ add-apt-repository -y ppa:marutter/rrutter
|
|||||||
# Set the GHC version
|
# Set the GHC version
|
||||||
GHCVER=8.0.2
|
GHCVER=8.0.2
|
||||||
|
|
||||||
# Get Stack
|
|
||||||
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 575159689BEFB442
|
|
||||||
echo 'deb http://download.fpcomplete.com/ubuntu xenial main'|tee /etc/apt/sources.list.d/fpco.list
|
|
||||||
|
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y \
|
apt-get install -y \
|
||||||
build-essential \
|
build-essential \
|
||||||
@ -115,6 +110,7 @@ apt-get install -y \
|
|||||||
libzip-dev \
|
libzip-dev \
|
||||||
libzmq3-dev \
|
libzmq3-dev \
|
||||||
llvm-3.7 \
|
llvm-3.7 \
|
||||||
|
locales \
|
||||||
m4 \
|
m4 \
|
||||||
nettle-dev \
|
nettle-dev \
|
||||||
nodejs \
|
nodejs \
|
||||||
@ -123,13 +119,16 @@ apt-get install -y \
|
|||||||
r-base \
|
r-base \
|
||||||
r-base-dev \
|
r-base-dev \
|
||||||
ruby-dev \
|
ruby-dev \
|
||||||
stack \
|
|
||||||
wget \
|
wget \
|
||||||
xclip \
|
xclip \
|
||||||
z3 \
|
z3 \
|
||||||
zip \
|
zip \
|
||||||
zlib1g-dev
|
zlib1g-dev
|
||||||
|
|
||||||
|
locale-gen en_US.UTF-8
|
||||||
|
|
||||||
|
curl -sSL https://get.haskellstack.org/ | sh
|
||||||
|
|
||||||
# Put documentation where we expect it
|
# Put documentation where we expect it
|
||||||
mv /opt/ghc/$GHCVER/share/doc/ghc-$GHCVER/ /opt/ghc/$GHCVER/share/doc/ghc
|
mv /opt/ghc/$GHCVER/share/doc/ghc-$GHCVER/ /opt/ghc/$GHCVER/share/doc/ghc
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user