Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
153
Issues
153
List
Board
Labels
Milestones
Merge Requests
12
Merge Requests
12
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
haskell-gargantext
Commits
ef7f3bfc
Commit
ef7f3bfc
authored
May 28, 2021
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[test] gitlab ci docker image fix
parent
a6dd6000
Pipeline
#1478
canceled with stage
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
5 deletions
+6
-5
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
README.md
README.md
+1
-1
Dockerfile
devops/docker/Dockerfile
+2
-1
docker-install
devops/docker/docker-install
+1
-1
stack.yaml
stack.yaml
+1
-1
No files found.
.gitlab-ci.yml
View file @
ef7f3bfc
...
...
@@ -2,7 +2,7 @@
# 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
:
STACK_ROOT
:
"
${CI_PROJECT_DIR}/.stack"
...
...
README.md
View file @
ef7f3bfc
...
...
@@ -102,7 +102,7 @@ For Docker env, first create the appropriate image:
```
sh
cd
devops/docker
docker build
-t
fpco/stack-build:lts-1
6.26
-garg
.
docker build
-t
fpco/stack-build:lts-1
7.13
-garg
.
```
then run:
...
...
devops/docker/Dockerfile
View file @
ef7f3bfc
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
&&
\
apt-get
install
-y
git libigraph0-dev
&&
\
rm
-rf
/var/lib/apt/lists/
*
...
...
devops/docker/docker-install
View file @
ef7f3bfc
...
...
@@ -54,7 +54,7 @@ git clone https://gitlab.iscpif.fr/gargantext/purescript-gargantext
../install-deps
$(
pwd
)
pushd
devops/docker
docker build
--pull
-t
fpco/stack-build:lts-1
6.26
-garg
.
docker build
--pull
-t
fpco/stack-build:lts-1
7.13
-garg
.
popd
#stack docker pull
...
...
stack.yaml
View file @
ef7f3bfc
...
...
@@ -11,7 +11,7 @@ packages:
docker
:
enable
:
false
repo
:
'
fpco/stack-build:lts-1
6.26
-garg'
repo
:
'
fpco/stack-build:lts-1
7.13
-garg'
run-args
:
-
'
--publish=8008:8008'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment