rollup from next branch (#4)
All checks were successful
continuous-integration/drone/push Build is passing

Co-authored-by: sneak <sneak@sneak.berlin>
Reviewed-on: #4
This commit was merged in pull request #4.
This commit is contained in:
2022-12-04 07:59:36 +00:00
parent eb3b685aa3
commit 7a8a1b4a4a
665 changed files with 832 additions and 248432 deletions

View File

@@ -1,6 +1,6 @@
## lint image
## current as of 2022-01-25
FROM golangci/golangci-lint@sha256:d16ef91da7e10f3df45c36876543326abbc4c16aaab6548549560b9f52e9e831 AS linter
FROM golangci/golangci-lint:latest AS linter
RUN mkdir -p /build
WORKDIR /build
@@ -13,7 +13,12 @@ FROM golang@sha256:52a48e0239f4d645b20ac268a60361703afe7feb2df5697fa89f72052cb87
#FROM golang:1.16-buster AS builder
ENV DEBIAN_FRONTEND noninteractive
RUN apt update && apt install -y make bzip2 protobuf-compiler
RUN apt update && apt install -y make bzip2 curl unzip
# install newer protoc than what comes with buster
ENV PB_REL https://github.com/protocolbuffers/protobuf/releases
RUN curl -LO $PB_REL/download/v3.19.0/protoc-3.19.0-linux-x86_64.zip && \
unzip protoc-3.19.0-linux-x86_64.zip -d /usr/local
RUN mkdir -p /build
WORKDIR /build
@@ -26,7 +31,7 @@ COPY ./ ./
# image and we already did it in a previous stage
#RUN make lint
RUN make mfer
RUN go mod vendor
#RUN go mod vendor
RUN tar -c . | bzip2 > /src.tbz2