-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathDockerfile
More file actions
28 lines (23 loc) · 734 Bytes
/
Copy pathDockerfile
File metadata and controls
28 lines (23 loc) · 734 Bytes
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
FROM debian:stable-slim
ENV JOTTA_TOKEN=**None** \
JOTTA_DEVICE=**None** \
JOTTA_SCANINTERVAL=1h\
PUID=101 \
PGID=101 \
LOCALTIME=Europe/Amsterdam
VOLUME [ "/config" ]
COPY entrypoint.sh /src/
WORKDIR /src
RUN chmod +x entrypoint.sh
RUN apt-get update -y &&\
apt-get upgrade -y &&\
apt-get -y install wget gnupg apt-transport-https ca-certificates expect &&\
wget -O - https://repo.jotta.us/public.gpg | apt-key add - &&\
echo "deb https://repo.jotta.us/debian debian main" | tee /etc/apt/sources.list.d/jotta-cli.list &&\
apt-get update -y &&\
apt-get install jotta-cli -y &&\
apt-get autoremove -y &&\
apt-get clean &&\
rm -rf /var/lib/lists/*
EXPOSE 14443
ENTRYPOINT [ "/src/entrypoint.sh" ]