-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from FontysResIT/development
Development
- Loading branch information
Showing
15 changed files
with
18 additions
and
32 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
Binary file renamed
BIN
+488 KB
docs/Research Report - ResIT.pdf → .../research/Research Report - Appsemble.pdf
Binary file not shown.
Binary file not shown.
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,21 +1,23 @@ | ||
FROM golang:1.18.0-alpine as builder | ||
FROM golang:1.18.2-buster as builder | ||
|
||
ENV GO111MODULE=on | ||
WORKDIR /app | ||
COPY . . | ||
|
||
RUN apk --no-cache add git alpine-sdk build-base gcc | ||
|
||
# RUN apk --no-cache add git alpine-sdk build-base gcc | ||
RUN apt-get install -y ca-certificates | ||
RUN go get | ||
|
||
RUN go install github.com/swaggo/swag/cmd/swag@latest | ||
RUN swag init --parseDependency --parseInternal | ||
# RUN go install github.com/swaggo/swag/cmd/swag@latest | ||
# RUN swag init --parseDependency --parseInternal | ||
|
||
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-s -w" -o ./build | ||
RUN CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -ldflags "-s -w" -o ./build | ||
|
||
FROM scratch AS final | ||
FROM debian:10.3-slim AS final | ||
|
||
COPY --from=builder /app/build build | ||
COPY --from=builder /app/docs docs | ||
|
||
# COPY --from=builder /app/docs docs | ||
# COPY --from=builder /app/public public | ||
COPY --from=builder /etc/ssl/certs /etc/ssl/certs | ||
CMD ["/build"] | ||
|
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