valheim box64

This commit is contained in:
darksaid98 committed 2023-08-12 16:39:29 +02:00
1 parent dbe89a4771
commit 9cf41158dc
2 files changed
+13 -35

No files matched your search

+2 -35
View File
@@ -9,39 +9,6 @@ on:
paths:
- games/**
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:
name: "games_All:${{ matrix.game }}"
runs-on: ubuntu-latest
@@ -49,7 +16,7 @@ jobs:
fail-fast: false
matrix:
game:
- minetest
- valheim
steps:
- uses: actions/checkout@v3
- name: Set up QEMU
@@ -71,4 +38,4 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
ghcr.io/parkervcp/games:${{ matrix.game }}
ghcr.io/darksaid98/games:${{ matrix.game }}
+11
View File
@@ -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 \
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
RUN update-locale lang=en_US.UTF-8 \
&& 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
WORKDIR /home/container