Skip to content

Commit

Permalink
Fix build: repo renamed, Ruby ABI macro
Browse files Browse the repository at this point in the history
  • Loading branch information
mvidner committed Feb 6, 2018
1 parent 7fcda69 commit 43a0475
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.latest
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
FROM opensuse:tumbleweed

# the NON-OSS repo is not needed, save the network bandwidth and some time (~5 seconds) for each refresh
RUN zypper mr -d non-oss
RUN zypper mr -d "NON OSS"

# "zypper dup" synchronizes with the current Tumbleweed (even downgrades if needed)
# to avoid possible dependency issues as the TW Docker image is updated less frequently
Expand All @@ -22,7 +22,7 @@ RUN zypper ar -f -p 50 http://download.opensuse.org/repositories/devel:/librarie
RUN zypper --gpg-auto-import-keys --non-interactive in --no-recommends \
ruby && zypper clean -a

RUN RUBY_VERSION=`rpm --eval '%{rb_default_ruby_abi}'` && \
RUN RUBY_VERSION=ruby:`rpm --eval '%{rb_ver}'` && \
zypper --gpg-auto-import-keys --non-interactive in --no-recommends \
boost-devel \
cmake \
Expand Down

0 comments on commit 43a0475

Please sign in to comment.