Summary Files Commits Branches @commit @diff @stats
path: root / Year 3 / Compilers, Introduction / coolc-spim / docker-container / Dockerfile
blob: 606a3806aadabff2decbd73056309c03e54b1edc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM debian:latest

RUN apt-get update && \
    apt-get upgrade -y && \
    apt-get clean

RUN apt install vim spim build-essential csh flex bison -y

RUN mkdir /usr/class
RUN mkdir /usr/code

ENV PATH="/usr/class/cs143/bin:${PATH}"

RUN useradd --shell /bin/bash --home-dir /usr/code kamen
USER kamen
WORKDIR /usr/code

CMD /bin/bash