readme.md 971 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
# Baseimage for Jekyll@LCSB
A Docker base-image containing Ruby dependencies for Jekyll instances using Jekyll-LCSB-Theme.

# Versions
|   Tag             | Jekyll version | Bundler version |
|:-----------------:|:--------------:|-----------------|
| 1.0 (or latest)   |   Jekyll 4.0.0 | 2.0.2           |
| 0.1 (or legacy)   |   Jekyll 3.8.6 | 1.17.3          |

# How to use?
Jacek Lebioda's avatar
Jacek Lebioda committed
11
In your `.gitlab-ci.yml` file add the following line (make sure `r3` is written in lower-case):
12
13

```
Jacek Lebioda's avatar
Jacek Lebioda committed
14
15
16
17
image: git-r3lab.uni.lu:4567/r3/docker/jekyll-lcsb:latest

# or, if you want to use legacy (or other versions) 
image: git-r3lab.uni.lu:4567/r3/docker/jekyll-lcsb:0.1
18
19
20
21
22
23
```

# How to build and push to the repository?
Run:

```
Jacek Lebioda's avatar
Jacek Lebioda committed
24
25
docker build -t git-r3lab.uni.lu:4567/r3/docker/jekyll-lcsb:new_tag .  # replace `new_tag` with e.g. 1.1
docker build -t git-r3lab.uni.lu:4567/r3/docker/jekyll-lcsb:latest .
26
27
28
29
30
```

Publish in repository:

```
Jacek Lebioda's avatar
Jacek Lebioda committed
31
docker push git-r3lab.uni.lu:4567/r3/docker/jekyll-lcsb
32
```