-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
25 lines (22 loc) · 737 Bytes
/
Dockerfile
File metadata and controls
25 lines (22 loc) · 737 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
FROM debian:bullseye-slim
LABEL name="clank-rest"
LABEL description="Clank REST API server"
LABEL maintainer="hashsploit <hashsploit@protonmail.com>"
# Install dependencies
RUN echo "Updating packages ..." \
&& apt-get update -y >/dev/null 2>&1 \
&& echo "Installing dependencies ..." \
&& apt-get install -y \
curl \
nodejs \
npm >/dev/null 2>&1
# Remove bloat
RUN rm -rf /var/lib/apt/lists/* /var/cache/apt/* \
&& apt-get autoremove --purge -y \
&& apt-get clean -y \
&& rm -rf /usr/share/man \
&& rm -rf /usr/share/locale \
&& rm -rf /usr/share/doc \
&& mkdir -p /etc/initramfs-tools/conf.d/ \
&& echo "COMPRESS=xz" | tee /etc/initramfs-tools/conf.d/compress >/dev/null 2>&1
ENTRYPOINT ["/bin/bash", "/opt/launch.sh"]