Compare commits
2 Commits
a05a30854a
...
360f74a921
Author | SHA1 | Date | |
---|---|---|---|
360f74a921 | |||
b05363d33a |
15
localhost/caskd/archlinux/genshin/runtime/runner.sh
Executable file
15
localhost/caskd/archlinux/genshin/runtime/runner.sh
Executable 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
|
@ -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
|
|
||||||
|
|
||||||
|
|
@ -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)
|
|
Loading…
Reference in New Issue
Block a user