File tree Expand file tree Collapse file tree 2 files changed +2
-16
lines changed Expand file tree Collapse file tree 2 files changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,6 @@ LABEL maintainer="arne@hilmann.de"
4
4
5
5
USER root
6
6
RUN apk add --update inotify-tools jq curl && rm -rf /var/cache/apk/*
7
- RUN npm -g config set user root
8
- RUN npm install -g http-server && npm cache clean --force
9
7
COPY markdeck/loop.decktape /usr/local/bin/loop.decktape
10
8
RUN ln -sf /slides /target
11
9
USER node
Original file line number Diff line number Diff line change 1
- VERSION =0.20
2
- MOTTO ="charts-n-math"
3
-
4
1
PANDOC_VERSION =2.1.1
5
2
REVEALJS_VERSION =3.6.0
6
3
ASCIINEMAPLAYER_VERSION =v2.6.0
@@ -9,15 +6,7 @@ IMPRESSJS_VERSION=1.0.0-beta2
9
6
10
7
11
8
all : prepare
12
- docker build \
13
- --rm \
14
- --build-arg VERSION=$(VERSION ) \
15
- --build-arg MOTTO=$(MOTTO ) \
16
- --build-arg http_proxy=$$ {http_proxy:-} \
17
- --build-arg https_proxy=$$ {https_proxy:-} \
18
- -t arne/markdeck:latest \
19
- -t arne/markdeck:$(VERSION ) \
20
- .
9
+ docker-compose build
21
10
22
11
23
12
tag : all
@@ -26,8 +15,7 @@ tag: all
26
15
27
16
28
17
push : all
29
- docker push arne/markdeck:$(VERSION )
30
- docker push arne/markdeck:latest
18
+ docker-compose push
31
19
32
20
33
21
prepare : downloaded/bin/pandoc \
You can’t perform that action at this time.
0 commit comments