mirror of
https://github.com/linuxserver/docker-calibre.git
synced 2026-02-20 04:42:36 +08:00
Disable multiarch
This commit is contained in:
parent
2e7744a282
commit
59cd94f66c
7
.github/workflows/external_trigger.yml
vendored
7
.github/workflows/external_trigger.yml
vendored
@ -36,15 +36,10 @@ jobs:
|
||||
token=$(curl -sX GET \
|
||||
"https://ghcr.io/token?scope=repository%3Alinuxserver%2Fcalibre%3Apull" \
|
||||
| jq -r '.token')
|
||||
multidigest=$(curl -s \
|
||||
--header "Accept: application/vnd.docker.distribution.manifest.v2+json" \
|
||||
--header "Authorization: Bearer ${token}" \
|
||||
"https://ghcr.io/v2/${image}/manifests/${tag}" \
|
||||
| jq -r 'first(.manifests[].digest)')
|
||||
digest=$(curl -s \
|
||||
--header "Accept: application/vnd.docker.distribution.manifest.v2+json" \
|
||||
--header "Authorization: Bearer ${token}" \
|
||||
"https://ghcr.io/v2/${image}/manifests/${multidigest}" \
|
||||
"https://ghcr.io/v2/${image}/manifests/${tag}" \
|
||||
| jq -r '.config.digest')
|
||||
image_info=$(curl -sL \
|
||||
--header "Authorization: Bearer ${token}" \
|
||||
|
||||
@ -1,25 +0,0 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM ghcr.io/linuxserver/baseimage-rdesktop-web:arm64v8-jammy
|
||||
|
||||
# set version label
|
||||
ARG BUILD_DATE
|
||||
ARG VERSION
|
||||
ARG CALIBRE_RELEASE
|
||||
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
||||
LABEL maintainer="aptalca"
|
||||
|
||||
# add local files
|
||||
COPY root-arm/ /
|
||||
|
||||
# prevent baseimage services from starting
|
||||
RUN \
|
||||
cd /etc/s6-overlay/s6-rc.d/user/contents.d && \
|
||||
rm -rf \
|
||||
svc-autostart \
|
||||
svc-guacd \
|
||||
svc-web \
|
||||
svc-xrdp \
|
||||
svc-xrdp-sesman
|
||||
|
||||
# This Calibre image does not support ARM due to lack of upstream support
|
||||
@ -1,25 +0,0 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM ghcr.io/linuxserver/baseimage-rdesktop-web:arm32v7-jammy
|
||||
|
||||
# set version label
|
||||
ARG BUILD_DATE
|
||||
ARG VERSION
|
||||
ARG CALIBRE_RELEASE
|
||||
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
||||
LABEL maintainer="aptalca"
|
||||
|
||||
# add local files
|
||||
COPY root-arm/ /
|
||||
|
||||
# prevent baseimage services from starting
|
||||
RUN \
|
||||
cd /etc/s6-overlay/s6-rc.d/user/contents.d && \
|
||||
rm -rf \
|
||||
svc-autostart \
|
||||
svc-guacd \
|
||||
svc-web \
|
||||
svc-xrdp \
|
||||
svc-xrdp-sesman
|
||||
|
||||
# This Calibre image does not support ARM due to lack of upstream support
|
||||
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -25,7 +25,7 @@ pipeline {
|
||||
DEV_DOCKERHUB_IMAGE = 'lsiodev/calibre'
|
||||
PR_DOCKERHUB_IMAGE = 'lspipepr/calibre'
|
||||
DIST_IMAGE = 'ubuntu'
|
||||
MULTIARCH = 'true'
|
||||
MULTIARCH = 'false'
|
||||
CI = 'true'
|
||||
CI_WEB = 'true'
|
||||
CI_PORT = '8080'
|
||||
|
||||
@ -16,7 +16,7 @@ repo_vars:
|
||||
- DEV_DOCKERHUB_IMAGE = 'lsiodev/calibre'
|
||||
- PR_DOCKERHUB_IMAGE = 'lspipepr/calibre'
|
||||
- DIST_IMAGE = 'ubuntu'
|
||||
- MULTIARCH = 'true'
|
||||
- MULTIARCH = 'false'
|
||||
- CI = 'true'
|
||||
- CI_WEB = 'true'
|
||||
- CI_PORT = '8080'
|
||||
|
||||
@ -1,15 +0,0 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
# shellcheck shell=bash
|
||||
|
||||
cat <<-EOF
|
||||
********************************************************
|
||||
********************************************************
|
||||
* *
|
||||
* !!!! *
|
||||
* This Calibre image does not support *
|
||||
* ARM due to a lack of upstream packages *
|
||||
* *
|
||||
* *
|
||||
********************************************************
|
||||
********************************************************
|
||||
EOF
|
||||
@ -1 +0,0 @@
|
||||
oneshot
|
||||
@ -1 +0,0 @@
|
||||
/etc/s6-overlay/s6-rc.d/init-calibre-config/run
|
||||
Loading…
x
Reference in New Issue
Block a user