mirror of
https://github.com/linuxboot/linuxboot
synced 2024-11-21 15:50:58 +00:00
Revert "mainboards: Add docker build support"
This reverts commit f648c93105
.
It never seemed to have any use.
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
This commit is contained in:
parent
1a1f4ac96b
commit
13c1bda818
@ -1,52 +0,0 @@
|
||||
FROM ubuntu:latest
|
||||
|
||||
|
||||
LABEL description="Build environment for Linuxboot mainboards"
|
||||
|
||||
# Working directory for mounting git repo in
|
||||
RUN mkdir /linuxboot-mainboards
|
||||
WORKDIR /linuxboot-mainboards
|
||||
|
||||
# Install dependencies
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y \
|
||||
gcc-aarch64-linux-gnu \
|
||||
gcc-arm-linux-gnueabi \
|
||||
gcc-arm-linux-gnueabihf \
|
||||
gcc-riscv64-linux-gnu \
|
||||
libelf-dev \
|
||||
u-boot-tools \
|
||||
acpica-tools \
|
||||
bc \
|
||||
bison \
|
||||
build-essential \
|
||||
cpio \
|
||||
flex \
|
||||
kmod \
|
||||
libncurses5-dev \
|
||||
libssl-dev \
|
||||
nasm \
|
||||
qemu-system \
|
||||
uuid-dev \
|
||||
wget \
|
||||
git \
|
||||
ssh
|
||||
|
||||
# install golang
|
||||
RUN wget https://go.dev/dl/go1.21.5.linux-amd64.tar.gz
|
||||
RUN rm -rf /usr/local/go && \
|
||||
tar -C /usr/local -xzf go1.21.5.linux-amd64.tar.gz
|
||||
ENV GOPATH="/root/go"
|
||||
ENV GOROOT="/usr/local/go"
|
||||
ENV PATH="$PATH:/root/go/bin:/usr/local/go/bin"
|
||||
RUN go env -w GO111MODULE=off
|
||||
|
||||
|
||||
# Fake sshkey
|
||||
RUN mkdir ~/.ssh && touch ~/.ssh/cpu_rsa.pub
|
||||
# RUN touch tyan7106/key.pub
|
||||
# RUN touch tyan7106/ssh_host_rsa_key
|
||||
|
||||
|
||||
|
||||
ENTRYPOINT ["/bin/bash", "-l", "-c"]
|
@ -1,5 +1,3 @@
|
||||
CONTAINER_NAME := linuxboot-mainboards
|
||||
|
||||
all:
|
||||
echo pick one of debian-packages or repos
|
||||
|
||||
@ -13,15 +11,3 @@ getmecleaner:
|
||||
go get -u github.com/u-root/cpu/...
|
||||
git clone https://github.com/corna/me_cleaner
|
||||
@echo Now add $(PWD)/me_cleaner to PATH
|
||||
|
||||
|
||||
docker-build: Dockerfile
|
||||
docker build -t $(CONTAINER_NAME) -f $< .
|
||||
|
||||
docker-run-aeeon-up: docker-build
|
||||
docker run --rm -v "$(shell pwd)/aeeon/up":/$(CONTAINER_NAME) $(CONTAINER_NAME) 'make fetch flashkernel'
|
||||
docker-run-ampere-jade: docker-build
|
||||
docker run --rm -v "$(shell pwd)/ampere/jade":/$(CONTAINER_NAME) $(CONTAINER_NAME) 'make fetch flashkernel'
|
||||
|
||||
docker-run-qemu-x86-64: docker-build
|
||||
docker run --rm -v "$(shell pwd)/qemu/x86_64":/$(CONTAINER_NAME) $(CONTAINER_NAME) 'make fetch flashkernel'
|
||||
|
Loading…
Reference in New Issue
Block a user