Add marshal support to the Dockerfile
This commit is contained in:
@@ -15,7 +15,9 @@ RUN apt-get update && \
|
||||
sudo \
|
||||
ca-certificates \
|
||||
keyboard-configuration \
|
||||
console-setup
|
||||
console-setup \
|
||||
bc \
|
||||
unzip
|
||||
|
||||
WORKDIR /root
|
||||
|
||||
@@ -51,6 +53,17 @@ RUN cd chipyard && \
|
||||
export MAKEFLAGS=-"j $(nproc)" && \
|
||||
./scripts/build-toolchains.sh esp-tools 1>/dev/null
|
||||
|
||||
|
||||
# Set up FireMarshal
|
||||
SHELL ["/bin/bash", "-c"]
|
||||
RUN cd chipyard && \
|
||||
source env.sh && \
|
||||
cd software/firemarshal && \
|
||||
./init-submodules.sh && \
|
||||
pip3 install -r python-requirements.txt && \
|
||||
marshal build br-base.json
|
||||
|
||||
|
||||
# Run script to set environment variables on entry
|
||||
ENTRYPOINT ["chipyard/scripts/entrypoint.sh"]
|
||||
|
||||
|
||||
@@ -13,7 +13,8 @@ Build and Deploy the Container
|
||||
sudo docker tag <IMAGE_ID> <PATH_NAME>:tag . # to tag the image after the build (ex. 0.0.3)
|
||||
sudo docker login # login into the account to push to
|
||||
sudo docker push <PATH_NAME>:tag # to push to repo with tag
|
||||
sudo docker run -it <IMAGE_ID> bash # to run an interactive version of the container
|
||||
sudo docker run -it --privileged <IMAGE_ID> bash # to run an interactive version of the container
|
||||
|
||||
|
||||
Path Names
|
||||
----------
|
||||
|
||||
Reference in New Issue
Block a user