Compare commits

...

2 Commits

Author SHA1 Message Date
360f74a921
Add genshin runtime container 2024-11-08 10:00:18 +00:00
b05363d33a
Remove grapheneos build files 2024-11-08 10:00:04 +00:00
3 changed files with 15 additions and 66 deletions

View File

@ -0,0 +1,15 @@
#!/bin/sh
podman create \
--replace \
--name genshin \
--network=host \
--userns=keep-id:uid=10000 \
-e DISPLAY \
-v '/sys:/sys' \
-v '/dev/dri:/dev/dri' \
-v '/dev/snd:/dev/snd' \
-v '/run/pulse:/run/pulse' \
-v '/tmp/.X11-unix:/tmp/.X11-unix' \
-v '/etc/resolv.conf:/etc/resolv.conf:ro' \
-v 'genshin_wine_data:/home/user/.wine' \
localhost/caskd/archlinux/genshin:latest

View File

@ -1,39 +0,0 @@
FROM localhost/caskd/dev/android/grapheneos/tree
RUN --network=host DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends -y \
bash \
bc \
bison \
ccache \
curl \
diffutils \
libelf-dev \
flex \
fontconfig \
g++ \
gcc \
git \
gnupg \
gperf \
imagemagick \
libxml2 \
libxml2-utils \
libxslt1-dev \
libreadline-dev \
lz4 \
lzop \
openjdk-17-jre \
openssl \
libssl-dev \
pngcrush \
procps \
python3 \
repo \
rsync \
squashfs-tools \
util-linux \
yarn \
zip \
zlib1g-dev

View File

@ -1,27 +0,0 @@
FROM debian
ARG GOS_VERSION=2024102100
# Enable contrib for repo
RUN sed -i 's/Components: main/& contrib/' /etc/apt/sources.list.d/debian.sources
RUN --network=host DEBIAN_FRONTEND=noninteractive apt update
RUN --network=host DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends -y \
ca-certificates \
git \
curl \
openssh-client \
gnupg \
python3 \
repo
WORKDIR /root/grapheneos
RUN --network=host repo init -u https://github.com/GrapheneOS/platform_manifest.git -b refs/tags/${GOS_VERSION}
RUN --network=host curl https://grapheneos.org/allowed_signers > /root/grapheneos_allowed_signers
WORKDIR /root/grapheneos/.repo/manifests
RUN git config gpg.ssh.allowedSignersFile /root/grapheneos_allowed_signers
RUN git verify-tag ${GOS_VERSION}
WORKDIR /root/grapheneos
RUN --network=host repo sync -j$(nproc)