From baddec02e05b8b165c0419e84058ebaf8ccb85c1 Mon Sep 17 00:00:00 2001 From: Ihor Karpiuk <106662428+IgorKarpiuk@users.noreply.github.com> Date: Mon, 29 Jan 2024 13:08:40 +0200 Subject: [PATCH] feat: added the ability to use git operations in the docker image (#1413) --- .changeset/loud-eagles-decide.md | 5 +++++ Dockerfile | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/loud-eagles-decide.md diff --git a/.changeset/loud-eagles-decide.md b/.changeset/loud-eagles-decide.md new file mode 100644 index 00000000..a4e9f5b1 --- /dev/null +++ b/.changeset/loud-eagles-decide.md @@ -0,0 +1,5 @@ +--- +"@redocly/cli": patch +--- + +Added git to the docker image, so the push command can use git metadata. diff --git a/Dockerfile b/Dockerfile index 84ed410f..adb7fa0c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,6 +17,7 @@ RUN npm run prepare # Install redocly-cli globally, similar to npm install --global @redocly/cli # but the local package is used here RUN apk update && apk add jq && \ + apk add git && \ npm run pack:prepare && \ npm install --global redocly-cli.tgz