mirror of
https://github.com/LukeHagar/redocly-cli.git
synced 2025-12-06 04:21:09 +00:00
feat: added the ability to use git operations in the docker image (#1413)
This commit is contained in:
5
.changeset/loud-eagles-decide.md
Normal file
5
.changeset/loud-eagles-decide.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@redocly/cli": patch
|
||||
---
|
||||
|
||||
Added git to the docker image, so the push command can use git metadata.
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user