Skip to content

Commit

Permalink
chore: docker image with swagger ui
Browse files Browse the repository at this point in the history
Signed-off-by: Jeronimo Irazabal <jeronimo.irazabal@gmail.com>
  • Loading branch information
jeroiraz committed Oct 19, 2023
1 parent 3a212c2 commit 221ed66
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ COPY go.mod go.sum /src/
RUN go mod download -x
COPY . .
RUN rm -rf /src/webconsole/dist
RUN GOOS=linux GOARCH=amd64 WEBCONSOLE=default make immuadmin-static immudb-static
RUN GOOS=linux GOARCH=amd64 WEBCONSOLE=default SWAGGER=true make immuadmin-static immudb-static
RUN mkdir /empty

FROM debian:bullseye-slim as bullseye-slim
Expand Down
2 changes: 1 addition & 1 deletion build/Dockerfile.alma
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM golang:1.18 as build
WORKDIR /src
COPY . .
RUN rm -rf /src/webconsole/dist
RUN GOOS=linux GOARCH=amd64 WEBCONSOLE=default make immuadmin-static immudb-static
RUN GOOS=linux GOARCH=amd64 WEBCONSOLE=default SWAGGER=true make immuadmin-static immudb-static
RUN mkdir /empty

FROM almalinux:8-minimal as alma
Expand Down
2 changes: 1 addition & 1 deletion build/Dockerfile.full
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ COPY go.mod go.sum /src/
RUN go mod download -x
COPY . .
RUN rm -rf /src/webconsole/dist
RUN GOOS=linux GOARCH=amd64 WEBCONSOLE=default make immuadmin-static immudb-static immuclient-static
RUN GOOS=linux GOARCH=amd64 WEBCONSOLE=default SWAGGER=true make immuadmin-static immudb-static immuclient-static
RUN mkdir /empty

FROM debian:11.7-slim as bullseye-slim
Expand Down
2 changes: 1 addition & 1 deletion build/Dockerfile.rndpass
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM golang:1.18 as build
WORKDIR /src
COPY . .
RUN GOOS=linux GOARCH=amd64 WEBCONSOLE=default make immuadmin-static immudb-static
RUN GOOS=linux GOARCH=amd64 WEBCONSOLE=default SWAGGER=true make immuadmin-static immudb-static
FROM debian:11.7-slim
LABEL org.opencontainers.image.authors="Codenotary Inc. <info@codenotary.com>"

Expand Down

0 comments on commit 221ed66

Please sign in to comment.