mirror of
https://github.com/linuxserver/docker-spotube.git
synced 2026-02-20 02:44:07 +08:00
Merge pull request #4 from statickidz/feat/add-aarch64-support
This commit is contained in:
commit
e8337404cf
43
Dockerfile.aarch64
Normal file
43
Dockerfile.aarch64
Normal file
@ -0,0 +1,43 @@
|
||||
FROM ghcr.io/linuxserver/baseimage-kasmvnc:arm64v8-debianbookworm
|
||||
|
||||
# set version label
|
||||
ARG BUILD_DATE
|
||||
ARG VERSION
|
||||
ARG SPOTUBE_VERSION
|
||||
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
||||
LABEL maintainer="thelamer"
|
||||
|
||||
# title
|
||||
ENV TITLE=Spotube
|
||||
|
||||
RUN \
|
||||
echo "**** add icon ****" && \
|
||||
curl -o \
|
||||
/kclient/public/icon.png \
|
||||
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/spotube-logo.png && \
|
||||
echo "**** install packages ****" && \
|
||||
apt-get update && \
|
||||
if [ -z ${SPOTUBE_VERSION+x} ]; then \
|
||||
SPOTUBE_VERSION=$(curl -sX GET "https://api.github.com/repos/KRTirtho/spotube/releases/latest" \
|
||||
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
|
||||
fi && \
|
||||
curl -o \
|
||||
/tmp/spotube.deb -L \
|
||||
"https://github.com/KRTirtho/spotube/releases/download/${SPOTUBE_VERSION}/Spotube-linux-aarch64.deb" && \
|
||||
apt install -y --no-install-recommends \
|
||||
/tmp/spotube.deb && \
|
||||
echo "**** cleanup ****" && \
|
||||
apt-get autoclean && \
|
||||
rm -rf \
|
||||
/config/.cache \
|
||||
/var/lib/apt/lists/* \
|
||||
/var/tmp/* \
|
||||
/tmp/*
|
||||
|
||||
# add local files
|
||||
COPY /root /
|
||||
|
||||
# ports and volumes
|
||||
EXPOSE 3000
|
||||
|
||||
VOLUME /config
|
||||
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -30,7 +30,7 @@ pipeline {
|
||||
DEV_DOCKERHUB_IMAGE = 'lsiodev/spotube'
|
||||
PR_DOCKERHUB_IMAGE = 'lspipepr/spotube'
|
||||
DIST_IMAGE = 'ubuntu'
|
||||
MULTIARCH = 'false'
|
||||
MULTIARCH = 'true'
|
||||
CI = 'true'
|
||||
CI_WEB = 'true'
|
||||
CI_PORT = '3000'
|
||||
|
||||
@ -54,7 +54,7 @@ The architectures supported by this image are:
|
||||
| Architecture | Available | Tag |
|
||||
| :----: | :----: | ---- |
|
||||
| x86-64 | ✅ | amd64-\<version tag\> |
|
||||
| arm64 | ❌ | |
|
||||
| arm64 | ✅ | arm64v8-\<version tag\> |
|
||||
| armhf | ❌ | |
|
||||
|
||||
## Application Setup
|
||||
|
||||
@ -1,5 +1,4 @@
|
||||
---
|
||||
|
||||
# jenkins variables
|
||||
project_name: docker-spotube
|
||||
external_type: github_stable
|
||||
@ -18,7 +17,7 @@ repo_vars:
|
||||
- DEV_DOCKERHUB_IMAGE = 'lsiodev/spotube'
|
||||
- PR_DOCKERHUB_IMAGE = 'lspipepr/spotube'
|
||||
- DIST_IMAGE = 'ubuntu'
|
||||
- MULTIARCH = 'false'
|
||||
- MULTIARCH = 'true'
|
||||
- CI = 'true'
|
||||
- CI_WEB = 'true'
|
||||
- CI_PORT = '3000'
|
||||
|
||||
@ -11,7 +11,8 @@ project_blurb_optional_extras_enabled: false
|
||||
|
||||
# supported architectures
|
||||
available_architectures:
|
||||
- { arch: "{{ arch_x86_64 }}", tag: "latest"}
|
||||
- { arch: "{{ arch_x86_64 }}", tag: "amd64-latest" }
|
||||
- { arch: "{{ arch_arm64 }}", tag: "arm64v8-latest" }
|
||||
|
||||
# development version
|
||||
development_versions: false
|
||||
@ -87,4 +88,5 @@ app_setup_block: |
|
||||
|
||||
# changelog
|
||||
changelogs:
|
||||
- { date: "26.04.24:", desc: "Initial release." }
|
||||
- { date: "09.10.24:", desc: "Add aarch64 support." }
|
||||
- { date: "26.04.24:", desc: "Initial release." }
|
||||
Loading…
x
Reference in New Issue
Block a user