From ee34fae8409a004bfa3fc2719fb589da33d272b3 Mon Sep 17 00:00:00 2001 From: Alexei Ledenev Date: Mon, 4 Nov 2019 11:19:27 +0200 Subject: [PATCH] use Alpine as base image: Docker is just a delivery container --- Dockerfile | 4 ++-- main.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3bfcfac..485d36d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ -FROM scratch +FROM alpine:3.10 ADD secrets-init /usr/local/bin/secrets-init -ENTRYPOINT ["/usr/local/bin/secrets-init"] \ No newline at end of file +CMD ["secrets-init", "--version"] \ No newline at end of file diff --git a/main.go b/main.go index 5956986..0f303f6 100644 --- a/main.go +++ b/main.go @@ -19,7 +19,7 @@ import ( ) var ( - versionString = "0.1.3" + versionString = "0.1.4" ) func main() {