Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>
This commit is contained in:
Jess Frazelle 2019-08-30 16:00:15 -07:00
parent 3699285004
commit 3f419866d0
No known key found for this signature in database
GPG key ID: C0B444E6A3EFD4C1

19
openbmc-sdk/Dockerfile Normal file
View file

@ -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"]