mirror of
https://github.com/darksaid98/yolks.git
synced 2026-12-03 22:21:39 +00:00
style: reformat
This commit is contained in:
1 file changed
+13
-13
+13
-13
@@ -21,15 +21,15 @@ RUN useradd -m -d /home/container -s /bin/bash container
|
|||||||
|
|
||||||
## Update base packages
|
## Update base packages
|
||||||
RUN apt update \
|
RUN apt update \
|
||||||
&& apt upgrade -y
|
&& apt upgrade -y
|
||||||
|
|
||||||
## Install dependencies
|
## Install dependencies
|
||||||
RUN dpkg --add-architecture armhf \
|
RUN dpkg --add-architecture armhf \
|
||||||
&& apt update -y \
|
&& apt update -y \
|
||||||
&& apt upgrade -y \
|
&& apt upgrade -y \
|
||||||
&& 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 \
|
&& 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 \
|
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 gcc-arm-linux-gnueabihf libc6:armhf libncurses5:armhf libstdc++6:armhf libpulse0
|
libz-dev rapidjson-dev tzdata libevent-dev libzip4 libsdl2-mixer-2.0-0 libsdl2-image-2.0-0 build-essential cmake libgdiplus libstdc++6 gcc-arm-linux-gnueabihf libc6:armhf libncurses5:armhf libstdc++6:armhf libpulse0
|
||||||
|
|
||||||
# RUN dpkg --add-architecture armhf \
|
# RUN dpkg --add-architecture armhf \
|
||||||
# && apt update -y \
|
# && apt update -y \
|
||||||
@@ -43,17 +43,17 @@ RUN dpkg --add-architecture armhf \
|
|||||||
|
|
||||||
## 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
|
## Install box64
|
||||||
RUN wget https://ryanfortner.github.io/box64-debs/box64.list -O /etc/apt/sources.list.d/box64.list \
|
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 \
|
&& 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
|
&& apt update && apt install box64-rpi4arm64 -y
|
||||||
|
|
||||||
## Install box86
|
## Install box86
|
||||||
RUN wget https://ryanfortner.github.io/box86-debs/box86.list -O /etc/apt/sources.list.d/box86.list \
|
RUN wget https://ryanfortner.github.io/box86-debs/box86.list -O /etc/apt/sources.list.d/box86.list \
|
||||||
&& wget -qO- https://ryanfortner.github.io/box86-debs/KEY.gpg | gpg --dearmor -o /etc/apt/trusted.gpg.d/box86-debs-archive-keyring.gpg \
|
&& wget -qO- https://ryanfortner.github.io/box86-debs/KEY.gpg | gpg --dearmor -o /etc/apt/trusted.gpg.d/box86-debs-archive-keyring.gpg \
|
||||||
&& apt update && apt install box86-rpi4arm64 -y
|
&& apt update && apt install box86-rpi4arm64 -y
|
||||||
|
|
||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
@@ -63,8 +63,8 @@ WORKDIR /home/container
|
|||||||
## Prepare NSS Wrapper for the entrypoint as a workaround for Valheim requiring a valid UID
|
## Prepare NSS Wrapper for the entrypoint as a workaround for Valheim requiring a valid UID
|
||||||
ENV NSS_WRAPPER_PASSWD=/tmp/passwd NSS_WRAPPER_GROUP=/tmp/group
|
ENV NSS_WRAPPER_PASSWD=/tmp/passwd NSS_WRAPPER_GROUP=/tmp/group
|
||||||
RUN touch ${NSS_WRAPPER_PASSWD} ${NSS_WRAPPER_GROUP} \
|
RUN touch ${NSS_WRAPPER_PASSWD} ${NSS_WRAPPER_GROUP} \
|
||||||
&& chgrp 0 ${NSS_WRAPPER_PASSWD} ${NSS_WRAPPER_GROUP} \
|
&& chgrp 0 ${NSS_WRAPPER_PASSWD} ${NSS_WRAPPER_GROUP} \
|
||||||
&& chmod g+rw ${NSS_WRAPPER_PASSWD} ${NSS_WRAPPER_GROUP}
|
&& chmod g+rw ${NSS_WRAPPER_PASSWD} ${NSS_WRAPPER_GROUP}
|
||||||
ADD passwd.template /passwd.template
|
ADD passwd.template /passwd.template
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user