mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +01:00
3f419866d0
Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>
20 lines
663 B
Docker
20 lines
663 B
Docker
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"]
|