From 051b74f59df9b524cf8454948b5792a24dcd72dd Mon Sep 17 00:00:00 2001 From: Akshay Gaikwad Date: Tue, 14 Jun 2022 15:27:53 +0530 Subject: [PATCH] Revert to alpine base image --- Dockerfile | 2 +- Dockerfile.initialize | 2 +- Dockerfile.synchronizer | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 90d7bec..5a6b49f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ RUN go mod download COPY . . RUN make build -FROM scratch as runtime +FROM alpine:latest as runtime LABEL description="Run container" WORKDIR /usr/bin diff --git a/Dockerfile.initialize b/Dockerfile.initialize index 2366e37..45139c2 100644 --- a/Dockerfile.initialize +++ b/Dockerfile.initialize @@ -8,7 +8,7 @@ RUN go build -ldflags "-s" -o paralus-init scripts/initialize/main.go RUN wget -O kratos.tar.gz -q https://github.com/ory/kratos/releases/download/v0.8.0-alpha.3/kratos_0.8.0-alpha.3_linux_64bit.tar.gz && tar -xf kratos.tar.gz RUN wget -O migrate.tar.gz -q https://github.com/golang-migrate/migrate/releases/download/v4.15.2/migrate.linux-amd64.tar.gz && tar -xf migrate.tar.gz -FROM scratch as runtime +FROM alpine:latest as runtime LABEL description="Run container" WORKDIR /usr/bin diff --git a/Dockerfile.synchronizer b/Dockerfile.synchronizer index 406ceed..c8c52e7 100644 --- a/Dockerfile.synchronizer +++ b/Dockerfile.synchronizer @@ -6,7 +6,7 @@ COPY . /build WORKDIR /build RUN go build -ldflags "-s" -o start-sync scripts/kratos/providers_sync.go -FROM scratch as runtime +FROM alpine:latest as runtime LABEL description="Run container" WORKDIR /usr/bin