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 73a3b30
Show file tree
Hide file tree
Showing 3 changed files with 13 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
File renamed without changes.
File renamed without changes.

0 comments on commit 73a3b30

Please sign in to comment.