Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
isc_physics
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tom.andrivet
isc_physics
Commits
b07070a4
Verified
Commit
b07070a4
authored
2 years ago
by
orestis.malaspin
Browse files
Options
Downloads
Patches
Plain Diff
added docker compose
parent
750378d6
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+10
-3
10 additions, 3 deletions
Makefile
docker-compose.yml
+10
-8
10 additions, 8 deletions
docker-compose.yml
with
20 additions
and
11 deletions
Makefile
+
10
−
3
View file @
b07070a4
...
...
@@ -8,14 +8,14 @@ OPTIONS += --filter=pandoc-numbering
OPTIONS
+=
--filter
=
pandoc-crossref
PDFOPTIONS
=
--highlight-style
kate
PDFOPTIONS
+=
--pdf-engine
pdf
latex
PDFOPTIONS
+=
--pdf-engine
xe
latex
PDFOPTIONS
+=
--number-sections
PDFOPTIONS
+=
--template
=
./default.latex
#
PDFOPTIONS += --template=./default.latex
HTMLOPTIONS
+=
-t
html5
HTMLOPTIONS
+=
-c
css/tufte-css/tufte.css
HTMLOPTIONS
+=
--s
elf-contai
ne
d
HTMLOPTIONS
+=
--s
tandalo
ne
HTMLOPTIONS
+=
--mathjax
=
MathJax.js
CLASS_SOURCES
:=
$(
sort
$(
filter-out README.md,
$(
wildcard
*
.md
)))
...
...
@@ -29,6 +29,13 @@ TEX := $(patsubst %.md, %.tex, $(SOURCES))
all
:
cours.pdf cours.html
docker
:
docker-compose.yml
docker-compose run cours
docker_clean
:
docker-compose.yml
docker-compose run cours clean
debug
:
$(PDF) $(TEX)
cours.pdf
:
$(CLASS_SOURCES)
...
...
This diff is collapsed.
Click to expand it.
docker-compose.yml
+
10
−
8
View file @
b07070a4
version
:
"
3.3"
services
:
pandoc
:
cours
:
#To use dockerfile : build: .
image
:
omalaspinas/c_pandoc:latest
user
:
1000:1000
container_name
:
pandoc
environment
:
USER
:
1000
GROUP
:
1000
container_name
:
cours
volumes
:
-
.:/
app
working_dir
:
/app
-
.
/
:/
data
entrypoint
:
[
"
make"
]
working_dir
:
/data
# user: "$(id -u):$(id -g)"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment