From 4439cc900b78ebb0c6c7779ecb99cb66425ad031 Mon Sep 17 00:00:00 2001 From: Hidde Beydals Date: Wed, 9 Aug 2023 01:34:00 +0200 Subject: [PATCH] build: remove obsolete Dockerfiles These were only part of the release process, and now continue to exist in `.release/*`. Signed-off-by: Hidde Beydals --- .dockerignore | 3 --- Dockerfile | 10 ---------- Dockerfile.alpine | 17 ----------------- 3 files changed, 30 deletions(-) delete mode 100644 .dockerignore delete mode 100644 Dockerfile delete mode 100644 Dockerfile.alpine diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index a7d3e834d6..0000000000 --- a/.dockerignore +++ /dev/null @@ -1,3 +0,0 @@ -/.git -/Dockerfile -/Dockerfile.alpine diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index d0c58a36f2..0000000000 --- a/Dockerfile +++ /dev/null @@ -1,10 +0,0 @@ -FROM golang:1.20 - -COPY . /go/src/go.mozilla.org/sops -WORKDIR /go/src/go.mozilla.org/sops - -RUN CGO_ENABLED=1 make install -RUN apt-get update -RUN apt-get install -y vim python3-pip emacs -RUN pip install awscli -ENV EDITOR vim diff --git a/Dockerfile.alpine b/Dockerfile.alpine deleted file mode 100644 index 5305852401..0000000000 --- a/Dockerfile.alpine +++ /dev/null @@ -1,17 +0,0 @@ -FROM golang:1.20-alpine3.18 AS builder - -RUN apk --no-cache add make - -COPY . /go/src/go.mozilla.org/sops -WORKDIR /go/src/go.mozilla.org/sops - -RUN CGO_ENABLED=1 make install - - -FROM alpine:3.18 - -RUN apk --no-cache add \ - vim ca-certificates -ENV EDITOR vim -COPY --from=builder /go/bin/sops /usr/local/bin/sops -ENTRYPOINT ["/usr/local/bin/sops"]