aboutsummaryrefslogtreecommitdiffstats
path: root/arbiter/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'arbiter/Dockerfile')
-rw-r--r--arbiter/Dockerfile18
1 files changed, 0 insertions, 18 deletions
diff --git a/arbiter/Dockerfile b/arbiter/Dockerfile
deleted file mode 100644
index a512798..0000000
--- a/arbiter/Dockerfile
+++ /dev/null
@@ -1,18 +0,0 @@
-FROM golang:1.22-alpine3.19 as builder
-RUN apk update && apk upgrade
-RUN apk add go git
-COPY go.* /arbiter/
-RUN cd /arbiter && go mod download
-COPY *.go /arbiter/
-RUN cd /arbiter && go build
-
-FROM alpine:3.19 as certbuilder
-RUN apk add openssl
-WORKDIR /certs
-RUN openssl req -nodes -new -x509 -subj="/C=US/ST=Denial/L=springfield/O=Dis/CN=localhost" -keyout server.key -out server.cert
-
-# FROM gcr.io/distroless/static-debian10
-FROM alpine:3.19
-COPY --from=certbuilder /certs /certs
-COPY --from=builder /arbiter/arbiter /arbiter/
-ENTRYPOINT ["/arbiter/arbiter"]