blob: a9e88d76931222a4bda7df87fc157f83cfd28d9a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
FROM verilator/verilator:latest
# Install fusesoc
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive \
&& apt-get install --no-install-recommends -y \
python3-pip \
&& pip3 install --upgrade fusesoc \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Create developer user (Change if your UID for your personal account is different
ARG UNAME=developer
ARG UID=1000
ARG GID=1000
RUN groupadd -g $GID -o $UNAME \
&& useradd -m -u $UID -g $GID -o -s /bin/bash $UNAME
USER $UNAME
WORKDIR /home/developer/work
ENTRYPOINT [ "/bin/bash", "-l", "-c" ]
|