mirror of
https://github.com/getsops/sops.git
synced 2026-02-05 12:45:21 +01:00
GoReleaser requires specifically crafted Dockerfiles as the build context is dynamically constructed. For more information, refer to https://goreleaser.com/errors/docker-build/#do and other documentation around Docker image templates and manifests. Signed-off-by: Hidde Beydals <hidde@hhh.computer>
14 lines
240 B
Docker
14 lines
240 B
Docker
FROM alpine:3.18
|
|
|
|
RUN apk --no-cache add \
|
|
ca-certificates \
|
|
vim \
|
|
&& update-ca-certificates
|
|
|
|
ENV EDITOR vim
|
|
|
|
# Glob pattern to match the binary for the current architecture
|
|
COPY sops* /usr/local/bin/sops
|
|
|
|
ENTRYPOINT ["sops"]
|