This repository has been archived by the owner on May 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
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 #91 from matrix-org/develop
0.3.0
Showing
1,481 changed files
with
1,088 additions
and
581,867 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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Created by .ignore support plugin (hsz.mobi) | ||
### Go template | ||
# Binaries for programs and plugins | ||
*.exe | ||
*.exe~ | ||
*.dll | ||
*.so | ||
*.dylib | ||
|
||
# Test binary, built with `go test -c` | ||
*.test | ||
|
||
# Output of the go coverage tool, specifically when used with LiteIDE | ||
*.out | ||
|
||
# Binaries | ||
bin/ | ||
# Dependency directories | ||
vendor/ | ||
Dockerfile | ||
.dockerignore | ||
|
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,10 +1,9 @@ | ||
language: go | ||
go: | ||
- 1.8 | ||
- tip | ||
- 1.13 | ||
install: | ||
- go get github.com/constabulary/gb/... | ||
- go get github.com/valyala/quicktemplate/qtc | ||
- qtc | ||
script: | ||
- gb build | ||
- go build ./cmd/... | ||
- go test ./... |
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,21 @@ | ||
FROM golang:1.11-alpine | ||
FROM golang:1.13-alpine | ||
|
||
RUN apk --update add git gcc musl-dev | ||
RUN go get github.com/valyala/quicktemplate/qtc | ||
|
||
COPY . /src | ||
WORKDIR /src | ||
COPY . /src | ||
|
||
RUN apk --update add git | ||
RUN go get github.com/constabulary/gb/... | ||
RUN go get github.com/valyala/quicktemplate/qtc | ||
RUN qtc | ||
RUN gb build | ||
RUN go build ./cmd/matrix-static | ||
|
||
FROM alpine | ||
|
||
# We need this otherwise we don't have a good list of CAs | ||
RUN apk --update add ca-certificates && mkdir /opt/matrix-static | ||
|
||
WORKDIR /opt/matrix-static/ | ||
COPY --from=0 /src/bin/* /bin/ | ||
COPY --from=0 /src/assets ./assets | ||
COPY --from=0 /src/matrix-static /bin/ | ||
COPY ./assets/ ./assets | ||
|
||
CMD ["matrix-static"] | ||
ENTRYPOINT matrix-static |
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.