commit 7ef8a7c125edbf4e44732503d0d26033b74491a4 parent 821e9e797a241140ba4eb8ca45d1261c5eb9c04b Author: FIGBERT <figbert@figbert.com> Date: Tue, 2 Mar 2021 17:41:47 -0800 Simplify installation of Zola in container Diffstat:
M | Dockerfile | | | 5 | +---- |
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/Dockerfile b/Dockerfile @@ -3,10 +3,7 @@ FROM alpine as builder WORKDIR /home/site COPY . . -RUN /bin/ash -c "echo \"http://dl-cdn.alpinelinux.org/alpine/edge/community\" >> /etc/apk/repositories" \ - && apk update \ - && apk upgrade \ - && apk --no-cache add zola \ +RUN apk add zola --repository http://dl-cdn.alpinelinux.org/alpine/edge/community/ \ && zola build FROM nginx:alpine