Files
OpenBK7231T_App/docker/Dockerfile
Michael Kamprath ade7fedc18 Docker-based environment for building all target platforms (#710)
* added a dockerized build environment

* addressed review comments

* added a dockerized build environment

* addressed review comments

* started work on a complete build docker image

* updated docker-based build process to be able to build all platforms

* removed unneeded dockerfile lines
2023-03-07 09:27:56 +01:00

27 lines
677 B
Docker

FROM ubuntu:22.04
ARG DEBIAN_FRONTEND=noninteractive
ARG USERNAME=devuser
RUN dpkg --add-architecture i386 \
&& apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y \
wget git python3 python-is-python3 python3-pip \
libc6-i386 make \
build-essential
RUN pip3 install pycryptodomex configobj toml fdt
RUN useradd -m -s /bin/bash ${USERNAME}
COPY build_target_platforms.sh /build_target_platforms.sh
RUN chmod 775 /build_target_platforms.sh
ENV OPENBK7231T_APP_NAME="OpenBK7231T_App"
RUN mkdir -p /${OpenBK7231T_App} && chown ${USERNAME} /${OpenBK7231T_App}
USER ${USERNAME}
CMD ["/build_target_platforms.sh"]