mirror of
https://github.com/darksaid98/yolks.git
synced 2026-12-04 06:29:00 +00:00
valheim box64
This commit is contained in:
2 files changed
+13
-35
No files matched your search
@@ -9,39 +9,6 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- games/**
|
- games/**
|
||||||
jobs:
|
jobs:
|
||||||
pushAMD64:
|
|
||||||
name: "games_AMD64:${{ matrix.game }}"
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
game:
|
|
||||||
- altv
|
|
||||||
- arma3
|
|
||||||
- dayz
|
|
||||||
- mohaa
|
|
||||||
- samp
|
|
||||||
- source
|
|
||||||
- valheim
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- uses: docker/setup-buildx-action@v2
|
|
||||||
with:
|
|
||||||
buildkitd-flags: --debug
|
|
||||||
- uses: docker/login-action@v2
|
|
||||||
with:
|
|
||||||
registry: ghcr.io
|
|
||||||
username: ${{ github.repository_owner }}
|
|
||||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
|
||||||
- uses: docker/build-push-action@v4
|
|
||||||
with:
|
|
||||||
context: ./games/${{ matrix.game }}
|
|
||||||
file: ./games/${{ matrix.game }}/Dockerfile
|
|
||||||
platforms: linux/amd64
|
|
||||||
push: true
|
|
||||||
tags: |
|
|
||||||
ghcr.io/parkervcp/games:${{ matrix.game }}
|
|
||||||
pushAll:
|
pushAll:
|
||||||
name: "games_All:${{ matrix.game }}"
|
name: "games_All:${{ matrix.game }}"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -49,7 +16,7 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
game:
|
game:
|
||||||
- minetest
|
- valheim
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
@@ -71,4 +38,4 @@ jobs:
|
|||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
ghcr.io/parkervcp/games:${{ matrix.game }}
|
ghcr.io/darksaid98/games:${{ matrix.game }}
|
||||||
@@ -16,10 +16,21 @@ RUN dpkg --add-architecture i386 \
|
|||||||
gcc g++ libgcc1 libc++-dev gdb libc6 curl tar iproute2 net-tools libatomic1 libsdl1.2debian libsdl2-2.0-0 \
|
gcc g++ libgcc1 libc++-dev gdb libc6 curl tar iproute2 net-tools libatomic1 libsdl1.2debian libsdl2-2.0-0 \
|
||||||
libfontconfig locales libcurl3-gnutls libpulse-dev libpulse0 libnss-wrapper gettext
|
libfontconfig locales libcurl3-gnutls libpulse-dev libpulse0 libnss-wrapper gettext
|
||||||
|
|
||||||
|
## Install dependencies
|
||||||
|
RUN apt install -y libc++-dev libc6 git wget curl tar zip unzip binutils xz-utils liblzo2-2 cabextract iproute2 net-tools libatomic1 libsdl1.2debian libsdl2-2.0-0 \
|
||||||
|
libfontconfig libicu67 icu-devtools libunwind8 libssl-dev sqlite3 libsqlite3-dev libmariadbclient-dev-compat libduktape205 locales ffmpeg gnupg2 apt-transport-https software-properties-common ca-certificates \
|
||||||
|
libz-dev rapidjson-dev tzdata libevent-dev libzip4 libsdl2-mixer-2.0-0 libsdl2-image-2.0-0 build-essential cmake libgdiplus libstdc++6
|
||||||
|
|
||||||
|
|
||||||
## configure locale
|
## configure locale
|
||||||
RUN update-locale lang=en_US.UTF-8 \
|
RUN update-locale lang=en_US.UTF-8 \
|
||||||
&& dpkg-reconfigure --frontend noninteractive locales
|
&& dpkg-reconfigure --frontend noninteractive locales
|
||||||
|
|
||||||
|
##Install box64
|
||||||
|
RUN wget https://ryanfortner.github.io/box64-debs/box64.list -O /etc/apt/sources.list.d/box64.list \
|
||||||
|
&& wget -qO- https://ryanfortner.github.io/box64-debs/KEY.gpg | gpg --dearmor -o /etc/apt/trusted.gpg.d/box64-debs-archive-keyring.gpg \
|
||||||
|
&& apt update && apt install box64-rpi4arm64 -y
|
||||||
|
|
||||||
|
|
||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
|||||||
Reference in new issue
Block a user