Install CAcert root certitficate
The CAcert root certificate is needed to access services in the cacert.org domain (i.e. Gitea API at https://code.cacert.org/).
This commit is contained in:
parent
2db482fdc4
commit
450770e9d2
2 changed files with 7 additions and 3 deletions
|
@ -8,6 +8,9 @@ RUN apt-get update \
|
|||
&& apt-get install -y libsqlite3-dev sqlite3 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN curl -o /usr/local/share/ca-certificates/cacert-root.crt http://www.cacert.org/certs/root_X0F.crt \
|
||||
&& update-ca-certificates
|
||||
|
||||
WORKDIR /build
|
||||
COPY entrypoint.sh /
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
set -e
|
||||
|
||||
golangci-lint run
|
||||
go test ./...
|
||||
gorelease release --rm-dist $@
|
||||
go mod download -x
|
||||
golangci-lint run --verbose
|
||||
go test -v ./...
|
||||
goreleaser release --rm-dist "$@"
|
||||
|
|
Loading…
Reference in a new issue