mirror of
https://github.com/paralus/paralus.git
synced 2026-08-24 15:47:19 +00:00
Merge pull request #14 from paralus/revert-alpine
Revert to alpine base image
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user