From ae5a2c4865f29d23180f0a381dae3c3fca4f2ffe Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 3 Feb 2022 12:47:21 +0100 Subject: [PATCH] Docker: in between commit --- Dockerfile | 10 ++++++++-- Dockerfile.debian | 8 ++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 Dockerfile.debian diff --git a/Dockerfile b/Dockerfile index 9233d33..4f153ea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,13 @@ # This image used for CI. -FROM debian:latest -MAINTAINER Timothée Floure +FROM alpine:3.15 +MAINTAINER ungleich + +RUN pip install lektor +RUN mkdir /build /data +COPY . /data + +FROM nginx: RUN apt-get update RUN apt-get install -y make python3-pip imagemagick openssh-client rsync git diff --git a/Dockerfile.debian b/Dockerfile.debian new file mode 100644 index 0000000..9233d33 --- /dev/null +++ b/Dockerfile.debian @@ -0,0 +1,8 @@ +# This image used for CI. + +FROM debian:latest +MAINTAINER Timothée Floure + +RUN apt-get update +RUN apt-get install -y make python3-pip imagemagick openssh-client rsync git +RUN pip3 install git+https://github.com/lektor/lektor/