aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorGravatar Tom Willemse2020-10-09 23:07:55 -0700
committerGravatar Tom Willemse2020-10-09 23:07:55 -0700
commitf58fe670d932f3dc05df73bad9abc0dcb58fe4f4 (patch)
treef0d5459efb94fc0ac7781e5182d1a6a19611f871 /Dockerfile
parentd9e8ecd24672ab608df929c43201e3fa1aa9fe0b (diff)
downloadnew-ryuslash.org-f58fe670d932f3dc05df73bad9abc0dcb58fe4f4.tar.gz
new-ryuslash.org-f58fe670d932f3dc05df73bad9abc0dcb58fe4f4.zip
Run stages using different container images
The Build/HTML stage needs the Emacs image because it uses Emacs to convert the org files into html files. The Build/CSS stage runs in an image defined by the Dockerfile in this repository, installing just make, npm, and lessc to convert the less files into CSS files. And the Deploy step needs to upload using rsync overs ssh.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index 0b18c08..030869c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,5 +1,3 @@
-FROM silex/emacs:27.1-alpine-dev
+FROM alpine:3.12
-RUN git clone https://github.com/cask/cask.git /usr/local/cask
-ENV PATH="/usr/local/cask/bin:$PATH"
-RUN cask upgrade-cask
+RUN apk add --no-cache make npm && npm -g install less