Skip to content

Commit

Permalink
add rk3588 target
Browse files Browse the repository at this point in the history
  • Loading branch information
sonroyaalmerol authored Dec 18, 2024
1 parent c14459f commit 92b1fc5
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
24 changes: 24 additions & 0 deletions bookworm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,29 @@ RUN set -x \

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

FROM arm64v8/debian:bookworm-slim as box64_rk3588

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://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-get update \
&& apt-get install -y --no-install-recommends --no-install-suggests \
box64-rk3588

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

FROM arm64v8/python:slim-bookworm as box64_adlink

ENV DEBIAN_FRONTEND noninteractive
Expand Down Expand Up @@ -184,6 +207,7 @@ 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_rk3588 /usr/local/bin/box64 /usr/local/bin/box64-rk3588
COPY --from=box64_adlink /tmp/install/usr/local/bin/box64 /usr/local/bin/box64-adlink

# hadolint ignore=DL3008
Expand Down
3 changes: 3 additions & 0 deletions box64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ case $ARM64_DEVICE in
rpi3)
BINARY_PATH="/usr/local/bin/box64-rpi3"
;;
rk3588)
BINARY_PATH="/usr/local/bin/box64-rk3588"
;;
m1)
BINARY_PATH="/usr/local/bin/box64-m1"
;;
Expand Down

0 comments on commit 92b1fc5

Please sign in to comment.