File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 1- FROM golang:bullseye
1+ FROM golang:latest AS build
2+
3+ # Install dependencies:
4+ RUN apt-get update && apt-get -y install curl
5+ RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b /usr/local/bin v1.45.2
6+
7+ FROM golang:latest
28LABEL maintainer=
"Victor \" Vito\" Gama <[email protected] >" 39
10+ RUN apt-get update && apt-get -y install build-essential ruby && rm -rf /var/cache/apt/archives /var/lib/apt/lists/*.
11+
412WORKDIR /usr/src/app/
513
14+ COPY --from=build /usr/local/bin/golangci-lint /usr/local/bin/golangci-lint
615COPY engine.json /
716
8- # Install dependencies:
9- RUN apt-get update && apt-get -y install build-essential curl git ruby
10- RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b /usr/local/bin v1.45.2
11-
1217RUN adduser -u 9000 --shell /bin/false app
1318USER app
1419
You can’t perform that action at this time.
0 commit comments