Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable module for utf8proc-devel in Rocky8 #303

Merged
merged 2 commits into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ members = [
resolver = "2"

[workspace.package]
version = "0.7.5"
version = "0.7.6"
authors = [
"David Mulder <[email protected]>"
]
Expand Down
12 changes: 4 additions & 8 deletions images/rpm/Dockerfile.rocky8
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,10 @@ FROM rockylinux:8
# Set environment variables for non-interactive installs
ENV YUM_VERSION=8

# Install utf8proc-devel, which has invalid characters in the filename,
# breaking yum search.
RUN yum update -y && dnf install -y 'dnf-command(config-manager)' wget \
# Enable powertools and subversion-devel (module which owns utf8proc-devel)
RUN yum update -y && dnf install -y 'dnf-command(config-manager)' \
&& dnf config-manager --set-enabled powertools \
&& yum update -y \
&& VERSION_ID=$(grep "^VERSION_ID=" /etc/os-release | cut -d '"' -f 2) \
&& URL="http://downloads.rockylinux.org/pub/rocky/${VERSION_ID}/PowerTools/x86_64/os/Packages/u/" \
&& wget -r -l1 -nd -np -A "utf8proc-devel-*.x86_64.rpm" "$URL" \
&& yum install -y ./utf8proc-devel-*.x86_64.rpm
&& dnf module enable -y subversion-devel

# Install essential build dependencies
RUN yum update -y && yum install -y \
Expand All @@ -33,6 +28,7 @@ RUN yum update -y && yum install -y \
clang \
gettext \
sqlite-devel \
utf8proc-devel \
&& yum clean all

# Install Rust (latest stable)
Expand Down
Loading