-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
14 additions
and
5 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 |
---|---|---|
|
@@ -13,10 +13,10 @@ ARG TARGETPLATFORM | |
ARG TARGETARCH | ||
ARG GO_VERSION=1.22.5 | ||
|
||
RUN apt-get update \ | ||
&& apt-get upgrade -y \ | ||
&& apt-get install -y git wget unzip gcc make curl \ | ||
&& apt-get clean | ||
RUN apt-get update && \ | ||
apt-get upgrade -y && \ | ||
apt-get install -y git wget unzip gcc make curl shellcheck python3 python3-pip nodejs npm && \ | ||
apt-get clean | ||
|
||
# install go | ||
RUN set -eux; \ | ||
|
@@ -38,7 +38,16 @@ ENV PATH="/usr/local/go/bin:${GOPATH}/bin:${PATH}" | |
RUN go install google.golang.org/protobuf/cmd/[email protected] && \ | ||
go install github.com/t-yuki/gocover-cobertura@latest && \ | ||
go install github.com/jstemmer/go-junit-report/v2@latest && \ | ||
go install github.com/golangci/golangci-lint/cmd/[email protected] | ||
go install github.com/golangci/golangci-lint/cmd/[email protected] && \ | ||
go install github.com/elastic/[email protected] | ||
|
||
RUN pip3 install --upgrade pip==22.0.4 && \ | ||
pip3 install yamllint==1.35.1 && \ | ||
pip3 install sphinx==6.2.1 && \ | ||
pip3 install codespell==2.3.0 | ||
|
||
RUN npm --registry https://registry.npmmirror.com install -g markdownlint-cli && \ | ||
npm --registry https://registry.npmmirror.com install -g [email protected] | ||
|
||
# run as root for now | ||
WORKDIR /home/admin/ | ||
|