From 3f419866d0a9a7042c9e05ed4abe3ede05a1e185 Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Fri, 30 Aug 2019 16:00:15 -0700 Subject: [PATCH] update Signed-off-by: Jess Frazelle --- openbmc-sdk/Dockerfile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 openbmc-sdk/Dockerfile diff --git a/openbmc-sdk/Dockerfile b/openbmc-sdk/Dockerfile new file mode 100644 index 0000000..486bb2a --- /dev/null +++ b/openbmc-sdk/Dockerfile @@ -0,0 +1,19 @@ +FROM debian:bullseye-slim + +RUN apt-get update && apt-get install -y \ + bash \ + build-essential \ + ca-certificates \ + curl \ + python \ + && rm -rf /var/lib/apt/lists/* + +RUN curl -sSL -o /usr/bin/oecore-x86_64-armv6-toolchain-nodistro.0.sh https://openpower.xyz/job/openbmc-build-sdk/distro=ubuntu,target=romulus/lastSuccessfulBuild/artifact/deploy/sdk/oecore-x86_64-armv6-toolchain-nodistro.0.sh \ + && chmod +x /usr/bin/oecore-x86_64-armv6-toolchain-nodistro.0.sh + +RUN mkdir -p /sdk/romulus \ + && oecore-x86_64-armv6-toolchain-nodistro.0.sh + +RUN echo ". /usr/local/oecore-x86_64/environment-setup-armv6-openbmc-linux-gnueabi" > ~/.bash_history + +ENTRYPOINT ["bash"]