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 \
|
&& apt-get install -y libsqlite3-dev sqlite3 \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& 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
|
WORKDIR /build
|
||||||
COPY entrypoint.sh /
|
COPY entrypoint.sh /
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
golangci-lint run
|
go mod download -x
|
||||||
go test ./...
|
golangci-lint run --verbose
|
||||||
gorelease release --rm-dist $@
|
go test -v ./...
|
||||||
|
goreleaser release --rm-dist "$@"
|
||||||
|
|
Loading…
Reference in a new issue