forked from stepchowfun/docuum
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
34 lines (31 loc) · 951 Bytes
/
Dockerfile
File metadata and controls
34 lines (31 loc) · 951 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
29
30
31
32
33
34
# A base image with glibc
FROM debian:buster-slim
# Install the Docker CLI.
RUN \
apt-get update && \
apt-get install --yes \
apt-transport-https \
ca-certificates \
curl \
gnupg2 \
software-properties-common \
&& \
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - && \
add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/debian buster stable" && \
apt-get update && \
apt-get install --yes docker-ce-cli && \
apt-get remove --yes \
apt-transport-https \
ca-certificates \
curl \
gnupg2 \
software-properties-common \
&& \
apt-get autoremove --yes && \
rm -rf /var/lib/apt/lists/*
# Install Docuum.
COPY release/docuum-x86_64-unknown-linux-gnu /usr/local/bin/docuum
# Set the entrypoint to Docuum. Note that Docuum is not intended to be run as
# an init process, so we run it indirectly via `sh`.
ENTRYPOINT ["/usr/local/bin/docuum"]