feat: add openapi2jsonschema
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d37d778e6c
commit
ae159035ad
@ -30,12 +30,16 @@ ENV SPELLCHECKER_VERSION="${SPELLCHECKER_VERSION:-6.1.1}"
|
|||||||
ENV JSBEAUTIFY_VERSION="${JSBEAUTIFY_VERSION:-1.14.7}"
|
ENV JSBEAUTIFY_VERSION="${JSBEAUTIFY_VERSION:-1.14.7}"
|
||||||
# renovate: datasource=pypi depName=yamllint
|
# renovate: datasource=pypi depName=yamllint
|
||||||
ENV YAMLLINT_VERSION="${YAMLLINT_VERSION:-1.29.0}"
|
ENV YAMLLINT_VERSION="${YAMLLINT_VERSION:-1.29.0}"
|
||||||
|
# renovate: datasource=github-releases depName=yannh/kubeconform
|
||||||
|
ENV KUBECONFORM_VERSION="${KUBECONFORM_VERSION:-v0.5.0}"
|
||||||
|
|
||||||
RUN apk --update add --no-cache python3 py3-pip curl make tar git bash && \
|
RUN apk --update add --no-cache python3 py3-pip curl make tar git bash && \
|
||||||
curl -SsfL -o /usr/local/bin/gomplate "https://github.com/hairyhenderson/gomplate/releases/download/${GOMPLATE_VERSION}/gomplate_${TARGETOS}-${TARGETARCH}${TARGETVARIANT}" && \
|
curl -SsfL -o /usr/local/bin/gomplate "https://github.com/hairyhenderson/gomplate/releases/download/${GOMPLATE_VERSION}/gomplate_${TARGETOS}-${TARGETARCH}${TARGETVARIANT}" && \
|
||||||
curl -SsfL -o /usr/local/bin/url-parser "https://github.com/thegeeklab/url-parser/releases/download/${URL_PARSER_VERSION}/url-parser-${TARGETOS}-${TARGETARCH}${TARGETVARIANT//v/-}" && \
|
curl -SsfL -o /usr/local/bin/url-parser "https://github.com/thegeeklab/url-parser/releases/download/${URL_PARSER_VERSION}/url-parser-${TARGETOS}-${TARGETARCH}${TARGETVARIANT//v/-}" && \
|
||||||
|
curl -SsfL -o /usr/local/bin/openapi2jsonschema "https://raw.githubusercontent.com/yannh/kubeconform/${KUBECONFORM_VERSION}/scripts/openapi2jsonschema.py" && \
|
||||||
chmod 755 /usr/local/bin/gomplate && \
|
chmod 755 /usr/local/bin/gomplate && \
|
||||||
chmod 755 /usr/local/bin/url-parser && \
|
chmod 755 /usr/local/bin/url-parser && \
|
||||||
|
chmod 755 /usr/local/bin/openapi2jsonschema && \
|
||||||
npm install -q --location=global \
|
npm install -q --location=global \
|
||||||
"prettier@$PRETTIER_VERSION" \
|
"prettier@$PRETTIER_VERSION" \
|
||||||
"spellchecker-cli@$SPELLCHECKER_VERSION" \
|
"spellchecker-cli@$SPELLCHECKER_VERSION" \
|
||||||
|
Loading…
Reference in New Issue
Block a user