Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
SCDL
Documentation du SCDL
Commits
99c05d7e
Commit
99c05d7e
authored
Dec 21, 2018
by
Christophe Benz
Browse files
Add Dockerfile and adapt CI config
parent
bb8e4d43
Pipeline
#363
failed with stage
in 9 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
99c05d7e
image
:
node:10
image
:
Jailbreak-Paris/validata-doc:latest
before_script
:
-
apt --yes update
-
apt --yes install --no-install-recommends calibre rsync
# image node:10 already provides openssh-client
-
npm install gitbook-cli -g
# Run ssh-agent (inside the build environment).
-
eval $(ssh-agent -s)
...
...
@@ -22,6 +16,5 @@ job:
variables
:
PDF_FILE
:
Socle Commun des Données Locales.pdf
script
:
-
gitbook install
-
./build.sh
-
rsync -avz --delete _book/ "$PDF_FILE" validata@go.validata.fr:validata-doc-html/
Dockerfile
0 → 100644
View file @
99c05d7e
FROM
node:10
MAINTAINER
Validata Team
RUN
apt
--yes
update
RUN
apt
--yes
install
--no-install-recommends
calibre rsync
# The image "node:10" already provides "openssh-client".
RUN
npm
install
gitbook-cli
-g
RUN
gitbook
install
# From https://github.com/docker-library/python/blob/master/Dockerfile-debian.template
ENV
LANG C.UTF-8
Write
Preview
Supports
Markdown
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