diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..7e2c4195 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,27 @@ +ARG ARCH +ARG BOSSA_VERSION=1.9.1 + +FROM ${ARCH}/ubuntu:focal + +ENV DEBIAN_FRONTEND=noninteractive + +ARG ARCH +COPY ./assets/qemu/${ARCH}/ /usr/bin/ + +RUN apt update + +RUN apt install -y --no-install-recommends \ + libwxgtk3.0-gtk3-dev \ + libreadline-dev \ + build-essential \ + git \ + ca-certificates + +ARG BOSSA_VERSION +RUN git clone -b ${BOSSA_VERSION} https://github.com/shumatech/BOSSA && \ + git -C ./BOSSA switch -c release + +WORKDIR ./BOSSA + +CMD make + diff --git a/assets/qemu/amd64/EMPTY_DIR b/assets/qemu/amd64/EMPTY_DIR new file mode 100644 index 00000000..e69de29b diff --git a/assets/qemu/arm32v7/qemu-arm-static b/assets/qemu/arm32v7/qemu-arm-static new file mode 100755 index 00000000..02843dc0 Binary files /dev/null and b/assets/qemu/arm32v7/qemu-arm-static differ diff --git a/assets/qemu/arm64v8/qemu-aarch64-static b/assets/qemu/arm64v8/qemu-aarch64-static new file mode 100755 index 00000000..b09e2d0b Binary files /dev/null and b/assets/qemu/arm64v8/qemu-aarch64-static differ