From f727e1fa75123e64df7b6819ce7f1794f08dd353 Mon Sep 17 00:00:00 2001 From: Shinya Uryu Date: Sun, 4 Mar 2018 21:30:52 +0900 Subject: [PATCH 1/3] using geospatial image and fix tags --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 01dba84..bef2375 100755 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM rocker/tidyverse:latest +FROM rocker/geospatial:3.4.3 Maintainer "Shinya Uryu" RUN apt-get update \ From 3a4da2f70dda1ac63a3accd6ad16bbe7f7481824 Mon Sep 17 00:00:00 2001 From: Shinya Uryu Date: Sun, 4 Mar 2018 21:31:21 +0900 Subject: [PATCH 2/3] tweaked volume path --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index a4b6130..997689f 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,4 +5,4 @@ services: ports: - "8787:8787" volumes: - - .:/home/rstudio/argama + - .:/home/rstudio/global_blog From a4867b4e7e1a01fe018508d0019b9080b40b5b3f Mon Sep 17 00:00:00 2001 From: Shinya Uryu Date: Sun, 4 Mar 2018 21:32:08 +0900 Subject: [PATCH 3/3] pre-installed hugo fix version 0.35 --- Dockerfile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index bef2375..42b0992 100755 --- a/Dockerfile +++ b/Dockerfile @@ -7,4 +7,11 @@ RUN apt-get update \ zlib1g-dev RUN install2.r \ - blogdown config + blogdown config miniUI + +ENV HUGO_VERSION=0.35 +ADD https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-64bit.tar.gz /tmp +RUN tar -xf /tmp/hugo_${HUGO_VERSION}_Linux-64bit.tar.gz -C /tmp \ + && mkdir -p /usr/local/sbin \ + && mv /tmp/hugo /usr/local/sbin/hugo \ + && rm -rf /tmp/hugo_${HUGO_VERSION}_linux_amd64