-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathDockerfile
More file actions
47 lines (23 loc) · 1.02 KB
/
Copy pathDockerfile
File metadata and controls
47 lines (23 loc) · 1.02 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
40
41
42
43
44
FROM ubuntu:resolute
LABEL org.opencontainers.image.authors="Richard Freeman <[email protected]>"
LABEL org.opencontainers.image.source=https://github.com/rich0/veilid
ENV DEBIAN_FRONTEND=noninteractive
RUN apt update && apt dist-upgrade -y
RUN apt install software-properties-common gpg wget -y
WORKDIR /tmp
RUN wget -O- https://packages.veilid.net/gpg/veilid-packages-key.public | gpg --dearmor -o /usr/share/keyrings/veilid-packages-keyring.gpg
RUN echo "deb [arch=amd64 signed-by=/usr/share/keyrings/veilid-packages-keyring.gpg] https://packages.veilid.net/apt stable main" > /etc/apt/sources.list.d/veilid.list
RUN apt-get update
ARG VEILID_VERSION
RUN apt install veilid-server=$VEILID_VERSION veilid-cli=$VEILID_VERSION
RUN apt-get clean
COPY veilid-server.conf /etc/veilid-server/veilid-server.conf
EXPOSE 5959/tcp
EXPOSE 5050/tcp
EXPOSE 5050/udp
CMD ["/usr/bin/veilid-server","--foreground"]
# /var/db/veilid-server
# veilid-server --foreground
# port 5959, 5150
# client connects to 5959