mirror of
https://github.com/tensorflow/haskell.git
synced 2024-06-02 19:13:34 +02:00
Removed provisions for different versions of stack lts.
We are now solidly in the 8-only territory.
This commit is contained in:
parent
436a4cecfe
commit
d3c990a17f
|
@ -11,8 +11,6 @@ MAINTAINER TensorFlow authors <tensorflow-haskell@googlegroups.com>
|
|||
ADD . /tfhs
|
||||
WORKDIR /tfhs
|
||||
|
||||
ARG STACK_RESOLVER
|
||||
|
||||
RUN \
|
||||
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 575159689BEFB442 && \
|
||||
echo 'deb http://download.fpcomplete.com/ubuntu trusty main'| tee /etc/apt/sources.list.d/fpco.list && \
|
||||
|
@ -33,5 +31,5 @@ RUN \
|
|||
curl -O https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-1.0.0.tar.gz && \
|
||||
tar zxf libtensorflow-cpu-linux-x86_64-1.0.0.tar.gz -C /usr/local && \
|
||||
ldconfig && \
|
||||
stack setup --resolver=${STACK_RESOLVER} && \
|
||||
stack test --resolver=${STACK_RESOLVER} --only-dependencies
|
||||
stack setup && \
|
||||
stack test --only-dependencies
|
||||
|
|
|
@ -4,9 +4,8 @@
|
|||
|
||||
set -eu -o pipefail
|
||||
|
||||
STACK_RESOLVER=${STACK_RESOLVER:-lts-6.2}
|
||||
IMAGE_NAME=tensorflow/haskell/ci_build:$STACK_RESOLVER
|
||||
IMAGE_NAME=tensorflow/haskell/ci_build:lts8
|
||||
|
||||
git submodule update
|
||||
docker build --build-arg STACK_RESOLVER=$STACK_RESOLVER -t $IMAGE_NAME -f ci_build/Dockerfile .
|
||||
docker run $IMAGE_NAME stack build --resolver=$STACK_RESOLVER --pedantic --test
|
||||
docker build -t $IMAGE_NAME -f ci_build/Dockerfile .
|
||||
docker run $IMAGE_NAME stack build --pedantic --test
|
||||
|
|
Loading…
Reference in New Issue
Block a user