diff --git a/Dockerfile b/Dockerfile index c3dfa51..88e600e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,7 +37,7 @@ RUN apt-get install -y gnupg2 && \ && curl -L http://packages.erlang-solutions.com/debian/erlang_solutions.asc | apt-key add - \ && apt-get update \ && mkdir -p /usr/share/man/man1/ \ - && apt-get install -y elixir erlang-inets erlang --no-install-recommends \ + && apt-get install -y git elixir erlang-inets erlang --no-install-recommends \ && apt-get clean -y ADD mix.exs /tmp/mix.exs diff --git a/config/config.exs b/config/config.exs index 99a2556..3777346 100644 --- a/config/config.exs +++ b/config/config.exs @@ -32,17 +32,19 @@ config :pandocker, envs: %{ } config :pandocker, defaults: %{ - command: "help", - config_yaml: "pandocker.yml", - project_root: "/code", - source_path: 'src', - output_file: 'out.pdf', - files: "/pandocker/examples/example.md" + command: "help", + config_yaml: "pandocker.yml", + project_root: "/code", + source_path: 'src', + output_file: 'out.pdf', + files: "/pandocker/examples/example.md", + templates_url: "https://github.com/luanguimaraesla/pandocker-templates", } config :pandocker, tokens: %{ - command: ~r/^\s*(?P(compile|help|new))/, - config_yaml: ~r/-f (?P\/?(\w+\/?)*\w+\.(yaml|yml))/, + command: ~r/^\s*(?P(compile|help|new))/, + template: ~r/(-t|--template)\s*(?