-
Notifications
You must be signed in to change notification settings - Fork 15
/
Dockerfile
37 lines (30 loc) · 890 Bytes
/
Dockerfile
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
ARG builder=minimsecure/unum-builder:debian-stretch-slim
FROM ${builder} as build
FROM debian:bullseye-slim
RUN apt-get update && \
apt-get install -y \
bridge-utils \
dnsmasq \
dnsutils \
gawk \
hostapd \
ifupdown \
iptables \
iputils-ping \
iproute2 \
iw \
libcurl4 \
libnl-3-200 \
libnl-genl-3-200 \
libjansson4 \
rfkill \
usbutils \
vim \
wireless-tools
WORKDIR /root/
COPY --from=build /usr/local/src/unum/out/linux_generic/linux_generic* .
RUN mkdir -p /opt/unum && \
tar -C /opt/unum -xf /root/linux_generic*
RUN bash /opt/unum/extras/install.sh --no-interactive --extras --aio --profile && \
echo 'service_type="manual"' >> /opt/unum/.installed
RUN sed -i -e 's:wlan0:eth2:' -e 's:eth0:eth1:' /etc/opt/unum/config.json