Merge pull request #14 from paralus/revert-alpine

Revert to alpine base image
This commit is contained in:
Akshay Gaikwad
2022-06-14 15:50:06 +05:30
committed by GitHub
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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