diff --git a/mainboards/Dockerfile b/mainboards/Dockerfile deleted file mode 100644 index 84365c1..0000000 --- a/mainboards/Dockerfile +++ /dev/null @@ -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"] \ No newline at end of file diff --git a/mainboards/Makefile b/mainboards/Makefile index 595a432..c8fee15 100644 --- a/mainboards/Makefile +++ b/mainboards/Makefile @@ -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'