we don't need our own Docker image
authorChristian Pointner <equinox@realraum.at>
Sat, 14 Sep 2019 19:40:08 +0000 (21:40 +0200)
committerChristian Pointner <equinox@realraum.at>
Sat, 14 Sep 2019 19:40:08 +0000 (21:40 +0200)
Dockerfile [deleted file]
jekyll-admin_build.sh [deleted file]
jekyll-admin_run.sh

diff --git a/Dockerfile b/Dockerfile
deleted file mode 100644 (file)
index 7bd2c87..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-FROM jekyll/builder:3.8
-
-RUN set -e \
-  && apk update \
-  && apk add mariadb-connector-c-dev \
-  && gem install jekyll-admin \
-  && gem install jekyll-import sequel unidecode mysql2 htmlentities ## this is only needed for import from wordpress
diff --git a/jekyll-admin_build.sh b/jekyll-admin_build.sh
deleted file mode 100755 (executable)
index 11b5927..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/bash
-
-exec sudo docker build -t realraum/homepage .
index a62d0ed..4c27407 100755 (executable)
@@ -1,4 +1,5 @@
 #!/bin/bash
 BASE_D=$(realpath "${BASH_SOURCE%/*}/")
+JEKYLL_VERSION=3.8
 
-exec sudo docker run --name realraum-jekyll --rm -it -p 127.0.0.1:4000:4000 --volume="$BASE_D/vendor/bundle:/usr/local/bundle" -v "$BASE_D/src":/srv/jekyll -v "$BASE_D/out":/srv/out realraum/homepage "$@"
+exec sudo docker run --name realraum-jekyll --rm -it -p 127.0.0.1:4000:4000 --volume="$BASE_D/vendor/bundle:/usr/local/bundle" -v "$BASE_D/src":/srv/jekyll -v "$BASE_D/out":/srv/out jekyll/jekyll:$JEKYLL_VERSION "$@"