Skip to content

Commit

Permalink
apidocs: remove gradle dep
Browse files Browse the repository at this point in the history
changes based on: kubevirt/kubevirt#12552

Signed-off-by: Michael Henriksen <[email protected]>
  • Loading branch information
mhenriks authored and kubevirt-bot committed Sep 15, 2024
1 parent 0039305 commit 9ed8cd8
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions hack/build/docker/builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,16 @@ RUN dnf -y install dnf-plugins-core && \
nbdkit-devel \
unzip \
java-11-openjdk-devel \
rubygems \
&& dnf clean all

RUN pip3 install --upgrade j2cli operator-courier==2.1.11 && \
curl -sL https://services.gradle.org/distributions/gradle-6.6-bin.zip -o gradle-6.6-bin.zip && \
mkdir /opt/gradle && \
unzip -d /opt/gradle gradle-6.6-bin.zip && \
ln -s /opt/gradle/gradle-6.6/bin/gradle /usr/local/bin/gradle && \
rm gradle-6.6-bin.zip
# Necessary for generation of HTML-formatted API docs (.adoc)
RUN gem install asciidoctor

# Generates Asciidoc files from swagger.json
ADD https://storage.googleapis.com/builddeps/swagger2markup-cli-1.3.3.jar /opt/swagger2markup-cli/swagger2markup-cli-1.3.3.jar

ENV JAVA_HOME=/usr/lib/jvm/java-11

ENV GIMME_GO_VERSION=1.20.10 GOPATH="/go" GO111MODULE="on"

Expand Down

0 comments on commit 9ed8cd8

Please sign in to comment.