Skip to content

Commit

Permalink
feat: update kuscia dev dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
yuluo-yx authored Dec 30, 2024
1 parent b042593 commit ab96092
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions dockerfiles/kuscia-ci.DockerFile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand All @@ -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/
Expand Down

0 comments on commit ab96092

Please sign in to comment.