Skip to content

Commit

Permalink
add 0.2.7 build for rpi4 - palworld workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
sonroyaalmerol authored Dec 5, 2024
1 parent e8bd6f9 commit 3e5262c
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
21 changes: 21 additions & 0 deletions bookworm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,26 @@ RUN set -x \

############################################################

FROM arm64v8/debian:bookworm-slim as box64_rpi4_0.2.7

ENV DEBIAN_FRONTEND noninteractive

# Set SHELL option explicitly
SHELL ["/bin/bash", "-o", "pipefail", "-c"]

# hadolint ignore=DL3008
RUN set -x \
# Install, update & upgrade packages
&& apt-get update \
&& apt-get install -y --no-install-recommends --no-install-suggests \
ca-certificates \
wget \
gnupg \
&& wget --progress=dot:giga https://github.com/Pi-Apps-Coders/box64-debs/raw/064eb3cffe90fa40d5ab44325a90720c28aaae2b/debian/box64-rpi4arm64_0.2.7+20240521T063129.3882a98-1_arm64.deb -O ./box64-0.2.7.deb \
&& dpkg -i ./box64-0.2.7.deb

############################################################

FROM arm64v8/debian:bookworm-slim as box64_rpi3

ENV DEBIAN_FRONTEND noninteractive
Expand Down Expand Up @@ -160,6 +180,7 @@ COPY --from=box64_m1 /usr/local/bin/box64 /usr/local/bin/box64-m1
COPY --from=box64_rpi5_4k /usr/local/bin/box64 /usr/local/bin/box64-rpi5
COPY --from=box64_rpi5_16k /usr/local/bin/box64 /usr/local/bin/box64-rpi5-16k
COPY --from=box64_rpi4 /usr/local/bin/box64 /usr/local/bin/box64-rpi4
COPY --from=box64_rpi4_0.2.7 /usr/local/bin/box64 /usr/local/bin/box64-rpi4-0_2_7
COPY --from=box64_rpi3 /usr/local/bin/box64 /usr/local/bin/box64-rpi3
COPY --from=box64_adlink /tmp/install/usr/local/bin/box64 /usr/local/bin/box64-adlink

Expand Down
3 changes: 3 additions & 0 deletions box64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ case $ARM64_DEVICE in
rpi4)
BINARY_PATH="/usr/local/bin/box64-rpi4"
;;
rpi4-pre3)
BINARY_PATH="/usr/local/bin/box64-rpi4-0_2_7"
;;
rpi3)
BINARY_PATH="/usr/local/bin/box64-rpi3"
;;
Expand Down
21 changes: 21 additions & 0 deletions bullseye/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,26 @@ RUN set -x \

############################################################

FROM arm64v8/debian:bullseye-slim as box64_rpi4_0.2.7

ENV DEBIAN_FRONTEND noninteractive

# Set SHELL option explicitly
SHELL ["/bin/bash", "-o", "pipefail", "-c"]

# hadolint ignore=DL3008
RUN set -x \
# Install, update & upgrade packages
&& apt-get update \
&& apt-get install -y --no-install-recommends --no-install-suggests \
ca-certificates \
wget \
gnupg \
&& wget --progress=dot:giga https://github.com/Pi-Apps-Coders/box64-debs/raw/064eb3cffe90fa40d5ab44325a90720c28aaae2b/debian/box64-rpi4arm64_0.2.7+20240521T063129.3882a98-1_arm64.deb -O ./box64-0.2.7.deb \
&& dpkg -i ./box64-0.2.7.deb

############################################################

FROM arm64v8/debian:bullseye-slim as box64_rpi3

ENV DEBIAN_FRONTEND noninteractive
Expand Down Expand Up @@ -159,6 +179,7 @@ COPY --from=box64_m1 /usr/local/bin/box64 /usr/local/bin/box64-m1
COPY --from=box64_rpi5_4k /usr/local/bin/box64 /usr/local/bin/box64-rpi5
COPY --from=box64_rpi5_16k /usr/local/bin/box64 /usr/local/bin/box64-rpi5-16k
COPY --from=box64_rpi4 /usr/local/bin/box64 /usr/local/bin/box64-rpi4
COPY --from=box64_rpi4_0.2.7 /usr/local/bin/box64 /usr/local/bin/box64-rpi4-0_2_7
COPY --from=box64_rpi3 /usr/local/bin/box64 /usr/local/bin/box64-rpi3
COPY --from=box64_adlink /tmp/install/usr/local/bin/box64 /usr/local/bin/box64-adlink

Expand Down

0 comments on commit 3e5262c

Please sign in to comment.