-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile.base
52 lines (46 loc) · 1.42 KB
/
Dockerfile.base
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
40
41
42
43
44
45
46
47
48
49
50
51
52
FROM archlinux
###############################################################################
# Common stuff for HDL development
#####
RUN pacman -Sy --noconfirm \
make \
gcc \
python \
python-pip \
perl \
git \
\
which \
libxft \
ksh \
net-tools \
iproute2 \
curl \
\
ghdl-gcc \
yosys \
iverilog \
verilator \
gtkwave \
base-devel
# Enabled aux things:
# iproute2 \ - useful to check isolation prior to running
# curl \ - check isolation and handy http getter
# Disabled aux things:
# ssh \
# xvfb \
# ssh - may be useful when things aren't working right
# xvfb - may be useful to suppress GUI https://linuxhint.com/install-xvfb-ubuntu/
# Execute following two lines before running GUI app:
# Xvfb :1 -screen 0 1920x1080x24+32 -fbdir /var/tmp &
# export DISPLAY=:1
###############################################################################
# yay for installing from AUR
#####
# alternate way to install yay install due to complicated things
# used code from https://github.com/greyltc-org/docker-archlinux-aur/blob/master/Dockerfile
# install helper and add a user for it
ADD add-aur.sh /root
RUN chmod +x /root/add-aur.sh && /bin/bash /root/add-aur.sh
# now to install from the AUR, you might do something like this in your Dockerfile:
# RUN aur-install aur-package1 aur-package2 non-aur-package3