From 5a481182c6d703aae1b7f7a17606526870bba7a7 Mon Sep 17 00:00:00 2001 From: mrhotio <26902309+mrhotio@users.noreply.github.com> Date: Sun, 19 May 2024 10:02:58 +0200 Subject: [PATCH] update unrar --- linux-amd64.Dockerfile | 2 +- linux-arm64.Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/linux-amd64.Dockerfile b/linux-amd64.Dockerfile index 2e061053..f56b731f 100644 --- a/linux-amd64.Dockerfile +++ b/linux-amd64.Dockerfile @@ -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 && \ diff --git a/linux-arm64.Dockerfile b/linux-arm64.Dockerfile index 2afdddcc..14f25818 100644 --- a/linux-arm64.Dockerfile +++ b/linux-arm64.Dockerfile @@ -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