-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into compress-archives
- Loading branch information
Showing
67 changed files
with
1,489 additions
and
9,387 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
.cache/ | ||
.git/ | ||
.vscode/ | ||
docs/ | ||
node_modules/ | ||
tests/ |
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,5 +1,4 @@ | ||
.parcel-cache/ | ||
.vscode/ | ||
build/ | ||
docs/.vuepress/dist/ | ||
node_modules/ |
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,17 +1,19 @@ | ||
FROM golang:1.18-alpine AS build-backend | ||
ARG GO_VERSION=1.22 | ||
FROM golang:${GO_VERSION}-alpine AS build-backend | ||
RUN apk add --no-cache make | ||
ARG VERSION=snapshot | ||
ARG COMMIT | ||
WORKDIR /go/src/github.com/Thiht/smocker | ||
WORKDIR /go/src/smocker | ||
COPY go.mod go.sum ./ | ||
RUN go mod download | ||
COPY Makefile main.go ./ | ||
COPY server/ ./server/ | ||
RUN make VERSION=$VERSION COMMIT=$COMMIT RELEASE=1 build | ||
|
||
FROM alpine | ||
LABEL org.opencontainers.image.source="https://github.com/smocker-dev/smocker" | ||
WORKDIR /opt | ||
EXPOSE 8080 8081 | ||
COPY build/client client/ | ||
COPY --from=build-backend /go/src/github.com/Thiht/smocker/build/* /opt/ | ||
COPY --from=build-backend /go/src/smocker/build/* /opt/ | ||
CMD ["/opt/smocker"] |
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
Oops, something went wrong.