aboutsummaryrefslogtreecommitdiffhomepage
path: root/Dockerfile.arm64v8
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile.arm64v8')
-rw-r--r--Dockerfile.arm64v823
1 files changed, 23 insertions, 0 deletions
diff --git a/Dockerfile.arm64v8 b/Dockerfile.arm64v8
new file mode 100644
index 0000000..0845c34
--- /dev/null
+++ b/Dockerfile.arm64v8
@@ -0,0 +1,23 @@
1FROM alpine as qemu
2
3ARG QEMU_VERSION="v4.2.0-7"
4
5RUN wget https://github.com/multiarch/qemu-user-static/releases/download/${QEMU_VERSION}/qemu-aarch64-static && chmod +x qemu-aarch64-static
6
7FROM arm64v8/alpine:3.11
8
9COPY --from=qemu qemu-aarch64-static /usr/bin/
10COPY ./ /www/
11
12ENV USER darkhttpd
13ENV GROUP darkhttpd
14ENV GID 911
15ENV UID 911
16
17RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} && \
18 apk add -U darkhttpd && \
19 rm /usr/bin/qemu-aarch64-static
20
21USER darkhttpd
22
23ENTRYPOINT ["darkhttpd","/www/"]