-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build-env: add a simplified build container
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
Showing
4 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.