diff --git a/Dockerfile b/Dockerfile index 72ad1eb7b0bc11193ce4af75fdeb573377982dba..c3ab429d542437322dcc9e6b868f574d9a0ad839 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM centos:latest +FROM centos:7 RUN yum install -y git wget gcc make openssl-devel readline-devel zlib-devel vim bzip2 RUN yum install -y epel-release diff --git a/README.md b/README.md index f7550b0da0a54470373f59f905248d76105d49cf..2932cb93c4f5db77dc1506a30c558bb711406317 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ - You can also build the docker container yourself. ``` - git clone https://github.com/snic-nsc/nscjekyllsetup.git + git clone https://gitlab.liu.se/NSC/nscjekyllsetup.git cd nscjekyllsetup sudo docker build -t nscjekyll . ``` @@ -52,7 +52,7 @@ Configuration file: /home/nscuser/mnt/_config.yml ``` sudo docker exec -it nscjekyll bash source rubyenv nsc -cd mnt +cd /mnt jekyll serve --watch ``` - At this point, if you don't see errors on the console, you should be able to point the browser on your host machine to localhost:4000 and view the pages. diff --git a/singularity/Singularity b/singularity/Singularity index 0fb01c15b72367dd6f6333f57f6a6728c2982170..006ee54185cdac380067dac18cb07eabd360e4be 100644 --- a/singularity/Singularity +++ b/singularity/Singularity @@ -1,5 +1,5 @@ Bootstrap: docker -From: centos:latest +From: centos:7 %post yum install -y git wget gcc make openssl-devel readline-devel zlib-devel vim bzip2