-
Notifications
You must be signed in to change notification settings - Fork 343
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Abdelkader Boudih <[email protected]>
- Loading branch information
Showing
12 changed files
with
25 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
FROM golang:1.18 as build | ||
ARG BUILD_ARCH=amd64 | ||
WORKDIR /src | ||
COPY . . | ||
RUN GOOS=linux GOARCH=amd64 make immuadmin-static | ||
RUN GOOS=linux GOARCH=${BUILD_ARCH} make immuadmin-static | ||
|
||
FROM debian:11.7-slim as bullseye | ||
LABEL org.opencontainers.image.authors="Codenotary Inc. <[email protected]>" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
FROM golang:1.18 as build | ||
ARG BUILD_ARCH=amd64 | ||
WORKDIR /src | ||
COPY . . | ||
RUN GOOS=linux GOARCH=amd64 make immuclient-static | ||
RUN GOOS=linux GOARCH=${BUILD_ARCH} make immuclient-static | ||
|
||
FROM debian:11.7-slim as bullseye | ||
LABEL org.opencontainers.image.authors="Codenotary Inc. <[email protected]>" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
FROM golang:1.18 as build | ||
ARG BUILD_ARCH=amd64 | ||
WORKDIR /src | ||
COPY . . | ||
RUN make clean | ||
RUN make prerequisites | ||
RUN make swagger | ||
RUN make swagger/dist | ||
RUN GOOS=linux GOARCH=amd64 WEBCONSOLE=default SWAGGER=true make immudb-static | ||
RUN GOOS=linux GOARCH=amd64 make immuadmin-static | ||
RUN GOOS=linux GOARCH=${BUILD_ARCH} WEBCONSOLE=default SWAGGER=true make immudb-static | ||
RUN GOOS=linux GOARCH=${BUILD_ARCH} make immuadmin-static | ||
|
||
FROM debian:11.7-slim | ||
LABEL org.opencontainers.image.authors="Codenotary Inc. <[email protected]>" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
FROM golang:1.18 as build | ||
ARG BUILD_ARCH=amd64 | ||
WORKDIR /src | ||
COPY go.mod go.sum /src/ | ||
RUN go mod download | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters