linuxserver/docker-unrar

This commit is contained in:
BENEDEK László 2024-10-08 01:55:56 +02:00
parent 275fff6c6b
commit ad512de361
3 changed files with 95 additions and 0 deletions

18
.gitmodules vendored
View File

@ -7,3 +7,21 @@
[submodule "linuxserver/docker-baseimage-ubuntu"] [submodule "linuxserver/docker-baseimage-ubuntu"]
path = linuxserver/docker-baseimage-ubuntu path = linuxserver/docker-baseimage-ubuntu
url = https://github.com/linuxserver/docker-baseimage-ubuntu.git url = https://github.com/linuxserver/docker-baseimage-ubuntu.git
[submodule "linuxserver/docker-unrar"]
path = linuxserver/docker-unrar
url = https://github.com/linuxserver/docker-unrar.git
[submodule "linuxserver/docker-wireguard"]
path = linuxserver/docker-wireguard
url = https://github.com/linuxserver/docker-wireguard.git
[submodule "linuxserver/docker-transmission"]
path = linuxserver/docker-transmission
url = https://github.com/linuxserver/docker-transmission.git
[submodule "linuxserver/docker-code-server"]
path = linuxserver/docker-code-server
url = https://github.com/linuxserver/docker-code-server.git
[submodule "linuxserver/docker-mariadb"]
path = linuxserver/docker-mariadb
url = https://github.com/linuxserver/docker-mariadb.git
[submodule "linuxserver/docker-your_spotify"]
path = linuxserver/docker-your_spotify
url = https://github.com/linuxserver/docker-your_spotify.git

View File

@ -0,0 +1,40 @@
registries:
- registry.tek.govt.hu
repos:
- name: unrar
path: docker-unrar
library: linuxserver
args:
- key: BUILD_DATE
value: "${BUILD_DATE}"
- key: VERSION
value: "${VERSION}"
- key: UNRAR_VERSION
value: "${VERSION}"
tags:
- name: latest
tags:
- amd64
- arm64
- armv7
- name: "7.0.9"
tags:
- 7.0.9-amd64
- 7.0.9-arm64
- 7.0.9-armv7
builds:
- arch: amd64
dockerfile: Dockerfile.aarch64
tags:
- amd64
- 7.0.9-amd64
- arch: arm64
dockerfile: Dockerfile.aarch64
tags:
- arm64
- 7.0.9-arm64
- arch: arm/v7
dockerfile: Dockerfile.aarch64
tags:
- armv7
- 7.0.9-armv7

View File

@ -0,0 +1,37 @@
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 ****" && \