Skip to content

Commit

Permalink
build-env: add a simplified build container
Browse files Browse the repository at this point in the history
Adding a simplified container for *just* building Zephyr. To facilitate this,
created subdirectories for a test-env (original container) and build-env (new
container).

As a next step, the original container should be use the build-env container as
its base image.

Signed-off-by: Eric Ernst <[email protected]>
  • Loading branch information
Eric Ernst committed May 7, 2020
1 parent 56592fd commit e8edc25
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
13 changes: 13 additions & 0 deletions build-env/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM ubuntu:18.04

ARG ZSDK_VERSION=0.11.2

# install packages toolchain:
ADD install-prereqs.sh /root/install-prereqs.sh
RUN /root/install-prereqs.sh && rm /root/install-prereqs.sh

ENV ZEPHYR_TOOLCHAIN_VARIANT=zephyr
ENV ZEPHYR_SDK_INSTALL_DIR=/opt/toolchains/zephyr-sdk-${ZSDK_VERSION}
ENV PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig

WORKDIR /workdir
19 changes: 19 additions & 0 deletions build-env/this
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
git \
cmake \
ninja-build \
gperf \
ccache \
dfu-util \
device-tree-compiler \
wget \
python3-pip \
python3-setuptools \
python3-tk \
python3-wheel \
xz-utils \
file \
make \
gcc \
gcc-multilib \
g++-multilib \
libsdl2-dev \
File renamed without changes.
File renamed without changes.

0 comments on commit e8edc25

Please sign in to comment.