From e5d668c7cd81456f1be0a7ac452c8e12827c5554 Mon Sep 17 00:00:00 2001 From: Thomas Kolb Date: Mon, 26 Aug 2024 00:01:59 +0200 Subject: [PATCH] Add build scripts for docker container --- doc/docker/Dockerfile | 4 ++++ doc/docker/build.sh | 3 +++ doc/docker/upload.sh | 5 +++++ 3 files changed, 12 insertions(+) create mode 100644 doc/docker/Dockerfile create mode 100644 doc/docker/build.sh create mode 100644 doc/docker/upload.sh diff --git a/doc/docker/Dockerfile b/doc/docker/Dockerfile new file mode 100644 index 0000000..d0620ba --- /dev/null +++ b/doc/docker/Dockerfile @@ -0,0 +1,4 @@ +FROM debian:stable + +RUN apt update && apt install -y ruby-rubygems make +RUN gem install asciidoctor asciidoctor-diagram diff --git a/doc/docker/build.sh b/doc/docker/build.sh new file mode 100644 index 0000000..715d90e --- /dev/null +++ b/doc/docker/build.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +docker build -t git.tkolb.de/amateurfunk/hamnet70/asciidoctor:1.0 diff --git a/doc/docker/upload.sh b/doc/docker/upload.sh new file mode 100644 index 0000000..06a102b --- /dev/null +++ b/doc/docker/upload.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +docker login +docker upload git.tkolb.de/amateurfunk/hamnet70/asciidoctor:1.0 +docker logout