aboutsummaryrefslogtreecommitdiffhomepage
path: root/qc_decrypt/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'qc_decrypt/Dockerfile')
-rw-r--r--qc_decrypt/Dockerfile11
1 files changed, 11 insertions, 0 deletions
diff --git a/qc_decrypt/Dockerfile b/qc_decrypt/Dockerfile
new file mode 100644
index 0000000..b8daecc
--- /dev/null
+++ b/qc_decrypt/Dockerfile
@@ -0,0 +1,11 @@
+FROM gcc:12.2 AS builder
+COPY ./ /usr/src/myapp
+WORKDIR /usr/src/myapp
+RUN make
+
+FROM debian:11-slim
+COPY --from=builder /usr/src/myapp/qc_decrypt /usr/bin/qc_decrypt
+RUN mkdir /data
+WORKDIR /data
+ENTRYPOINT [ "/usr/bin/qc_decrypt" ]
+