Skip to content

Commit

Permalink
Merge pull request #14 from kachick/fix-installation-ovirt-engine-sdk…
Browse files Browse the repository at this point in the history
…-in-docker
  • Loading branch information
segiddins authored Jan 12, 2025
2 parents f2d526a + ab8a4cc commit 0c8c0ab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ RUN apk add --no-cache \
&& rm -rf /var/cache/apk/*

# Install the backup gem which is currently used to run backups.
RUN gem install backup --no-doc --version 5.0.0.beta3
# Required to install ovirt-engine-sdk with cflags to apply workaround like https://github.com/oVirt/ovirt-engine-sdk-ruby/issues/14#issuecomment-2098809409
RUN gem install ovirt-engine-sdk --no-doc --version 4.6.0 -- --with-cflags="-Wno-error=incompatible-pointer-types -Wno-error=implicit-function-declaration" && \
gem install backup --no-doc --version 5.0.0.beta3

# Copy the directories from the repo to the container.
COPY . .
Expand Down

0 comments on commit 0c8c0ab

Please sign in to comment.