added emuelec image
All checks were successful
CI / Build emuelec docker images (push) Successful in 5m0s
All checks were successful
CI / Build emuelec docker images (push) Successful in 5m0s
This commit is contained in:
39
.gitea/workflows/build-emuelec.yaml
Normal file
39
.gitea/workflows/build-emuelec.yaml
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
name: CI
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
paths:
|
||||||
|
- 'emuelec/*'
|
||||||
|
- '.gitea/workflows/build-emuelec.yaml'
|
||||||
|
jobs:
|
||||||
|
"Build emuelec docker images":
|
||||||
|
runs-on: woryzen
|
||||||
|
steps:
|
||||||
|
-
|
||||||
|
name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v3.4.0
|
||||||
|
with:
|
||||||
|
driver: docker-container
|
||||||
|
platforms: |
|
||||||
|
linux/amd64
|
||||||
|
-
|
||||||
|
name: Login to Gitea container registry
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: gitea.woggioni.net
|
||||||
|
username: woggioni
|
||||||
|
password: ${{ secrets.PUBLISHER_TOKEN }}
|
||||||
|
-
|
||||||
|
name: Build and push emuelec image
|
||||||
|
uses: docker/build-push-action@v6
|
||||||
|
with:
|
||||||
|
context: "{{defaultContext}}:emuelec"
|
||||||
|
platforms: |
|
||||||
|
linux/amd64
|
||||||
|
push: true
|
||||||
|
pull: true
|
||||||
|
tags: |
|
||||||
|
"gitea.woggioni.net/woggioni/emuelec:latest"
|
||||||
|
cache-from: type=registry,ref=gitea.woggioni.net/woggioni/emuelec:buildx
|
||||||
|
cache-to: type=registry,mode=max,compression=zstd,image-manifest=true,oci-mediatypes=true,ref=gitea.woggioni.net/woggioni/emuelec:buildx
|
||||||
|
|
57
emuelec/Dockerfile
Normal file
57
emuelec/Dockerfile
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
|
||||||
|
FROM debian:stable
|
||||||
|
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
|
||||||
|
apt update &&\
|
||||||
|
apt install -y \
|
||||||
|
gcc \
|
||||||
|
make \
|
||||||
|
git \
|
||||||
|
unzip \
|
||||||
|
wget \
|
||||||
|
xz-utils \
|
||||||
|
libsdl2-dev \
|
||||||
|
libsdl2-mixer-dev \
|
||||||
|
libfreeimage-dev \
|
||||||
|
libfreetype6-dev \
|
||||||
|
libcurl4-openssl-dev \
|
||||||
|
rapidjson-dev \
|
||||||
|
libasound2-dev \
|
||||||
|
libgl1-mesa-dev \
|
||||||
|
build-essential \
|
||||||
|
libboost-all-dev \
|
||||||
|
cmake \
|
||||||
|
fonts-droid-fallback \
|
||||||
|
libvlc-dev \
|
||||||
|
libvlccore-dev \
|
||||||
|
vlc-bin \
|
||||||
|
texinfo \
|
||||||
|
premake4 \
|
||||||
|
golang \
|
||||||
|
libssl-dev \
|
||||||
|
curl \
|
||||||
|
patchelf \
|
||||||
|
xmlstarlet \
|
||||||
|
default-jre \
|
||||||
|
xsltproc \
|
||||||
|
libvpx-dev \
|
||||||
|
rdfind \
|
||||||
|
tzdata \
|
||||||
|
xfonts-utils \
|
||||||
|
lzop \
|
||||||
|
libjson-perl \
|
||||||
|
libparse-yapp-perl \
|
||||||
|
gperf \
|
||||||
|
qemu-user-binfmt \
|
||||||
|
gawk \
|
||||||
|
zstd \
|
||||||
|
libc6:amd64 \
|
||||||
|
zip \
|
||||||
|
patchutils\
|
||||||
|
bc \
|
||||||
|
libglib2.0-dev
|
||||||
|
|
||||||
|
RUN useradd luser -m -G users
|
||||||
|
USER luser
|
||||||
|
WORKDIR /home/luser
|
||||||
|
# RUN git clone --depth 1 --branch dev https://github.com/EmuELEC/EmuELEC.git .
|
||||||
|
# RUN PROJECT=Rockchip DEVICE=OdroidGoAdvance ARCH=aarch64 DISTRO=EmuELEC make image
|
Reference in New Issue
Block a user