Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update kuscia dev dockerfile #86

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading