From 541008716e1fa87e98a508aec9aa236ffeb7b5ee Mon Sep 17 00:00:00 2001 From: cophilot Date: Sat, 17 Aug 2024 21:16:36 +0200 Subject: [PATCH] added docker support - 1.0.0 --- Dockerfile | 8 ++++++++ README.md | 14 ++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..2f27e0a --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM ubuntu:latest + + +RUN apt update +# Install curl +RUN apt install -y curl +# Install templify +RUN curl -s https://raw.githubusercontent.com/cophilot/templify/master/install | bash -s -- -y diff --git a/README.md b/README.md index 97e869c..4326eaa 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,7 @@ For a more detailed documentation visit the [templify-docs](https://templify.phi - [Installation](#installation) - [Linux](#linux) - [Windows](#windows) +- [Docker](#docker) - [Development Installation](#development-installation) - [Templates](#templates) - [.templify](#templify) @@ -106,6 +107,19 @@ You may need to restart your terminal after installation for the changes to take --- +## Docker + +You can run an docker container with an installed templify version to try out the features. Just run the following commands: + +``` +git clone https://github.com/cophilot/templify.git +cd templify +docker build . --tag templify-image +docker run -it templify-image bash +``` + +--- + ## Development Installation 1. Clone the repository