Skip to content

Commit

Permalink
update unrar
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhotio committed May 19, 2024
1 parent b3f0eaa commit 5a48118
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion linux-amd64.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ARG UPSTREAM_IMAGE
ARG UPSTREAM_DIGEST_AMD64

FROM alpine AS builder
ARG UNRAR_VER=7.0.7
ARG UNRAR_VER=7.0.9
ADD https://www.rarlab.com/rar/unrarsrc-${UNRAR_VER}.tar.gz /tmp/unrar.tar.gz
RUN apk --update --no-cache add build-base && \
tar -xzf /tmp/unrar.tar.gz && \
Expand Down
4 changes: 2 additions & 2 deletions linux-arm64.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ ARG UPSTREAM_IMAGE
ARG UPSTREAM_DIGEST_ARM64

FROM alpine AS builder
ARG UNRAR_VER=7.0.7
ARG UNRAR_VER=7.0.9
ADD https://www.rarlab.com/rar/unrarsrc-${UNRAR_VER}.tar.gz /tmp/unrar.tar.gz
RUN apk --update --no-cache add build-base && \
tar -xzf /tmp/unrar.tar.gz && \
cd unrar && \
sed -i 's|LDFLAGS=-pthread|LDFLAGS=-pthread -static|' makefile && \
sed -i 's|CXXFLAGS=-march=native|CXXFLAGS=-march=armv8-a|' makefile && \
sed -i 's|CXXFLAGS=-march=native|CXXFLAGS=-march=armv8-a+crypto+crc|' makefile && \
make -f makefile && \
install -Dm 755 unrar /usr/bin/unrar

Expand Down

0 comments on commit 5a48118

Please sign in to comment.