Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
config
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Malin Freeborn
config
Commits
ada792aa
Unverified
Commit
ada792aa
authored
1 year ago
by
Malin Freeborn
Browse files
Options
Downloads
Patches
Plain Diff
allow for docker pdf compilation
parent
6699d21a
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Docker/Dockerfile
+2
-0
2 additions, 0 deletions
Docker/Dockerfile
Docker/README.md
+19
-2
19 additions, 2 deletions
Docker/README.md
Docker/gimme
+29
-0
29 additions, 0 deletions
Docker/gimme
with
50 additions
and
2 deletions
Docker/Dockerfile
+
2
−
0
View file @
ada792aa
...
...
@@ -6,6 +6,8 @@ COPY x-install.sh /
COPY
tlmgrDeps.sh /
COPY
gimme /usr/bin/
RUN
/x-install.sh
ENV
PATH="/opt/texlive/2023/bin/x86_64-linux:${PATH}"
...
...
This diff is collapsed.
Click to expand it.
Docker/README.md
+
19
−
2
View file @
ada792aa
These files make up the docker which runs the BIND CI line.
If you want to change things and upload them, you'll need to sign up to docker.com and use your own username.
These files create the docker container which runs the BIND CI line.
### Compiling with this image
List any of the existing BIND books in a variable, then build them in a container:
```
bash
books
=
"core stories mim"
docker run
-it
--rm
--name
texbooks andonome/texbind:latest gimme
$books
```
Copy the files from the container:
```
bash
docker
cp
-a
texbooks:BIND .
```
### Make a new image
```
bash
docker login
docker build
-t
$USERNAME
/texbind
.
docker push
$USERNAME
/texbind
```
...then change the CI file to match your username.
This diff is collapsed.
Click to expand it.
Docker/gimme
0 → 100755
+
29
−
0
View file @
ada792aa
#!/bin/sh
# This script clones and comples BIND books.
set
-e
mkdir
-p
/BIND/
for
b
in
$@
;
do
git clone https://gitlab.com/bindrpg/
$b
make
-C
$b
all
done
# The second compilation means the cross-references should work.
for
n
in
1 2
;
do
for
b
in
$@
;
do
make
-C
$b
all
done
done
cp
**
/
*
.pdf /BIND/
echo
-e
'\n\n\nCopy your files over by opening a new terminal, and running:\n\n'
sleep
1
echo
'docker cp -a texbooks:BIND .'
sleep
4
echo
'Once done, press the return key'
read
x
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