images/linuxserver/patches/docker-unrar.patch

38 lines
1.3 KiB
Diff

diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64
index 2fdf7c2..2dc3236 100644
--- a/Dockerfile.aarch64
+++ b/Dockerfile.aarch64
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1
-FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.20 as alpine-buildstage
+FROM registry.tek.govt.hu/linuxserver/baseimage-alpine:3.20 as alpine-buildstage
# set version label
ARG UNRAR_VERSION=7.0.9
@@ -22,7 +22,6 @@ RUN \
/tmp/unrar --strip-components=1 && \
cd /tmp/unrar && \
sed -i 's|LDFLAGS=-pthread|LDFLAGS=-pthread -static|' makefile && \
- sed -i 's|CXXFLAGS=-march=native|CXXFLAGS=-march=armv8-a+crypto+crc|' makefile && \
make && \
install -v -m755 unrar /usr/bin && \
echo "**** test binary ****" && \
@@ -36,7 +35,7 @@ RUN \
/tmp/*
-FROM ghcr.io/linuxserver/baseimage-ubuntu:arm64v8-jammy as ubuntu-buildstage
+FROM registry.tek.govt.hu/linuxserver/baseimage-ubuntu:jammy as ubuntu-buildstage
# set version label
ARG UNRAR_VERSION=7.0.9
@@ -59,7 +58,6 @@ RUN \
/tmp/unrar --strip-components=1 && \
cd /tmp/unrar && \
sed -i 's|LDFLAGS=-pthread|LDFLAGS=-pthread -static|' makefile && \
- sed -i 's|CXXFLAGS=-march=native|CXXFLAGS=-march=armv8-a+crypto+crc|' makefile && \
make && \
install -v -m755 unrar /usr/bin && \
echo "**** test binary ****" && \