Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jekyll-lcsb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
R3
docker
jekyll-lcsb
Commits
b56c2b8e
Commit
b56c2b8e
authored
5 years ago
by
Jacek Lebioda
Browse files
Options
Downloads
Patches
Plain Diff
feat: upgrade Dockerfile
parent
3204401a
No related branches found
No related tags found
1 merge request
!7
feat: upgrade Dockerfile
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+3
-3
3 additions, 3 deletions
Dockerfile
readme.md
+15
-2
15 additions, 2 deletions
readme.md
with
18 additions
and
5 deletions
Dockerfile
+
3
−
3
View file @
b56c2b8e
FROM
ruby:2.6
MAINTAINER
Jacek Lebioda "jacek.lebioda@uni.lu"
RUN
gem
install
bundler:2.0.2
&&
\
gem
install
sassc
--
--disable-march-tune-native
COPY
Gemfile .
COPY
Gemfile.lock .
RUN
gem
install
bundler:2.0.2
&&
\
gem
install
sassc
--
--disable-march-tune-native
&&
\
bundle
install
&&
bundle update
RUN
bundle
install
&&
bundle update
This diff is collapsed.
Click to expand it.
readme.md
+
15
−
2
View file @
b56c2b8e
...
...
@@ -4,7 +4,8 @@ A Docker base-image containing Ruby dependencies for Jekyll instances using Jeky
# Versions
| Tag | Jekyll version | Bundler version | Theme version |
|:-----------------:|:--------------:|-----------------|---------------|
| 1.2 (or latest) | Jekyll 4.0.0 | 2.0.2 | 0.3.3 |
| 1.3 (or latest) | Jekyll 4.0.0 | 2.0.2 | 0.3.3 |
| 1.2 | Jekyll 4.0.0 | 2.0.2 | 0.3.3 |
| 1.1 | Jekyll 4.0.0 | 2.0.2 | 0.3.3 |
| 1.0 | Jekyll 4.0.0 | 2.0.2 | 0.3.0 |
| 0.1 (or legacy) | Jekyll 3.8.6 | 1.17.3 | 0.3.0 |
...
...
@@ -19,8 +20,20 @@ image: git-r3lab.uni.lu:4567/r3/docker/jekyll-lcsb:latest
image: git-r3lab.uni.lu:4567/r3/docker/jekyll-lcsb:0.1
```
For the reproducibility, it's good if you pin the version to a specific tag, e.g.
`1.3`
instead of
`latest`
.
# How to build and push to the repository?
Run:
It is handled by gitlab-CI automatically (see
`.gitlab-ci.yml`
) when you tag the commit.
Anyway, if you'd like to do it yourself, perform these steps:
Login to gitlab registry (you can generate the token to login with https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html).
```
docker login git-r3lab.uni.lu:4567
```
Then, build the image:
```
# replace `new_tag` with e.g. 1.3, and don't forget the dot...
...
...
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