From 9d76bbee4071321b476ced3f78610cdfa53c7651 Mon Sep 17 00:00:00 2001 From: Thelie Date: Sat, 19 Oct 2024 12:49:46 +0200 Subject: [PATCH] =?UTF-8?q?Build-Dockerfile=20hinzugef=C3=BCgt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..fd7777b --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM alpine:latest + +RUN apk update && apk add ruby-bundler ruby-dev git make gcc g++ musl-dev ruby-json ruby-bigdecimal nodejs linux-headers +RUN gem install jekyll +COPY git-dir/Gemfile . +COPY git-dir/Gemfile.lock . +RUN bundle lock --add-platform x86_64-linux-musl +RUN bundle update +RUN bundle install --verbose + +COPY build.sh /srv +RUN chmod +x /srv/build.sh + +WORKDIR /srv/ +ENTRYPOINT ["/bin/sh", "build.sh"] \ No newline at end of file