File tree Expand file tree Collapse file tree
etc/dockerfiles/stack-build Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11dockerfiles/stack-build
22=======================
33
4- Build [ fpco /stack-build] ( https://hub.docker.com/r/fpco /stack-build/ ) Docker
4+ Build [ cryptact /stack-build] ( https://hub.docker.com/r/cryptact /stack-build/ ) and [ cryptact/stack-build-small ] ( https://hub.docker.com/r/cryptact/stack-build-small /) Docker
55images. This script and its Dockerfiles are used for building images for LTS >=
668.0.
77
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ cd "$(dirname "$0")"
77# Constants and defaults
88#
99
10- DOCKER_REPO=fpco /stack-build
10+ DOCKER_REPO=cryptact /stack-build
1111PUSH=false
1212DRY=false
1313VARIANT=build
@@ -61,7 +61,7 @@ while [[ $# -gt 0 ]]; do
6161 ;;
6262 --small)
6363 VARIANT=small
64- DOCKER_REPO=fpco /stack-build-small
64+ DOCKER_REPO=cryptact /stack-build-small
6565 shift
6666 ;;
6767 -* )
Original file line number Diff line number Diff line change 1- FROM ubuntu:16 .04
1+ FROM ubuntu:18 .04
22
33MAINTAINER Emanuel Borsboom <manny@fpcomplete.com>
44
@@ -27,10 +27,10 @@ ENV LANG=C.UTF-8 \
2727#
2828
2929RUN apt-get update && \
30- apt-get install -y --no-install-recommends wget netbase ca-certificates && \
30+ apt-get install -y --no-install-recommends wget netbase ca-certificates gnupg2 && \
3131 if [ "$VARIANT" = "small" ]; then \
32- echo "deb http://ppa.launchpad.net/hvr/ghc/ubuntu xenial main" >>/etc/apt/sources.list && \
33- echo "deb-src http://ppa.launchpad.net/hvr/ghc/ubuntu xenial main" >>/etc/apt/sources.list && \
32+ echo "deb http://ppa.launchpad.net/hvr/ghc/ubuntu bionic main" >>/etc/apt/sources.list && \
33+ echo "deb-src http://ppa.launchpad.net/hvr/ghc/ubuntu bionic main" >>/etc/apt/sources.list && \
3434 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 063DAB2BDC0B3F9FCEBC378BFF3AEACEF6F88286 && \
3535 apt-get update && \
3636 apt-get install -y --no-install-recommends \
You can’t perform that action at this time.
0 commit comments