Commit ef7f3bfc authored by Przemyslaw Kaminski's avatar Przemyslaw Kaminski

[test] gitlab ci docker image fix

parent a6dd6000
Pipeline #1478 canceled with stage
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# https://vadosware.io/post/zero-to-continuous-integrated-testing-a-haskell-project-with-gitlab/ # https://vadosware.io/post/zero-to-continuous-integrated-testing-a-haskell-project-with-gitlab/
# #
# #
image: fpco/stack-build:lts-16.26-garg image: cgenie/stack-build:lts-17.13-garg
variables: variables:
STACK_ROOT: "${CI_PROJECT_DIR}/.stack" STACK_ROOT: "${CI_PROJECT_DIR}/.stack"
......
...@@ -102,7 +102,7 @@ For Docker env, first create the appropriate image: ...@@ -102,7 +102,7 @@ For Docker env, first create the appropriate image:
``` sh ``` sh
cd devops/docker cd devops/docker
docker build -t fpco/stack-build:lts-16.26-garg . docker build -t fpco/stack-build:lts-17.13-garg .
``` ```
then run: then run:
......
from fpco/stack-build:lts-17.10 FROM fpco/stack-build:lts-17.13
RUN apt-key adv --keyserver hkp://pool.sks-keyservers.net:80 --recv-keys 8B1DA6120C2BF624
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y git libigraph0-dev && \ apt-get install -y git libigraph0-dev && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
......
...@@ -54,7 +54,7 @@ git clone https://gitlab.iscpif.fr/gargantext/purescript-gargantext ...@@ -54,7 +54,7 @@ git clone https://gitlab.iscpif.fr/gargantext/purescript-gargantext
../install-deps $(pwd) ../install-deps $(pwd)
pushd devops/docker pushd devops/docker
docker build --pull -t fpco/stack-build:lts-16.26-garg . docker build --pull -t fpco/stack-build:lts-17.13-garg .
popd popd
#stack docker pull #stack docker pull
......
...@@ -11,7 +11,7 @@ packages: ...@@ -11,7 +11,7 @@ packages:
docker: docker:
enable: false enable: false
repo: 'fpco/stack-build:lts-16.26-garg' repo: 'fpco/stack-build:lts-17.13-garg'
run-args: run-args:
- '--publish=8008:8008' - '--publish=8008:8008'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment