add example shell file to compile cse141L programs,

add xxd to development container
This commit is contained in:
Arthur Lu 2022-08-10 06:05:07 +00:00
parent 78b38b573d
commit 4dd7faf066
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,6 @@
FROM python:slim FROM python:slim
WORKDIR / WORKDIR /
RUN apt-get -y update; apt-get -y upgrade RUN apt-get -y update; apt-get -y upgrade
RUN apt-get -y install git binutils RUN apt-get -y install git binutils xxd
COPY requirements.txt . COPY requirements.txt .
RUN pip install -r requirements.txt RUN pip install -r requirements.txt

2
example.sh Normal file
View File

@ -0,0 +1,2 @@
#!/bin/sh
python assembler.py cse141L.bin program1.asm program2.asm program3.asm