-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathDockerfile-cc
More file actions
39 lines (31 loc) · 1.04 KB
/
Dockerfile-cc
File metadata and controls
39 lines (31 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
ARG BASE_CONTAINER=define_as_build_arg
FROM $BASE_CONTAINER
LABEL MAINTAINER="CSEL Ops <admin@cs.colorado.edu>"
USER root
ENV DEBIAN_FRONTEND noninteractive
#ECEN 4553 Compilter Construction
# Install PLY(Python Lex-Yacc)
#
# PLY made changes including removing the install script.
# This specific commit shoudl work - same code, just includes install
#
RUN cd /tmp && git clone https://github.com/dabeaz/ply.git \
&& cd ply \
&& git checkout 1413aa2cdb99a2b0a39f74769c4c11110d2f9a76 \
&& python install.py && \
rm -rf /tmp/ply
# Install lld,llvm
RUN apt-get update \
&& apt-get install -yq lld llvm --no-install-recommends \
&& apt-get clean
# Install pytest lark lark-parser graphviz
RUN pip install pytest lark lark-parser graphviz
# Remove jupyter kernel
RUN echo "y" | /opt/conda/bin/jupyter-kernelspec remove -y \
ir julia-1.8 # xcpp17
# Remove drawio
RUN pip uninstall -y jupyterlab-drawio
RUN rm -rf /home/jovyan && \
mkdir /home/jovyan && \
chown $NB_UID:$NB_GID /home/jovyan
USER $NB_UID