Skip to content

Commit 1ad7b12

Browse files
update Dockerfile
Signed-off-by: stoneshi-yunify <[email protected]>
1 parent 261fd44 commit 1ad7b12

File tree

3 files changed

+2
-23
lines changed

3 files changed

+2
-23
lines changed

.github/actions/build/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ runs:
5555
type=ref,event=branch,suffix=${{ inputs.tag-suffix }}
5656
type=ref,event=pr,suffix=${{ inputs.tag-suffix }}
5757
type=semver,pattern={{version}},prefix=v,suffix=${{ inputs.tag-suffix }}
58+
type=raw,value=latest
5859
- name: Set up QEMU
5960
uses: docker/setup-qemu-action@v3
6061
- name: Set up Docker Buildx

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The definition method of podTemplate is:
1010

1111
```bash
1212
podTemplate(containers: [
13-
containerTemplate(name: 'base', image: 'kubesphere/builder-base:v2.1.0', ttyEnabled: true, command: 'cat')
13+
containerTemplate(name: 'base', image: 'kubesphere/builder-base:latest', ttyEnabled: true, command: 'cat')
1414
])
1515
```
1616

base/Dockerfile

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -157,28 +157,6 @@ RUN npm install --global watch-cli vsce typescript
157157
# Install Yarn
158158
RUN npm install --global yarn
159159

160-
# Verify installations
161-
RUN printenv
162-
RUN echo "docker: $(docker --version)"
163-
RUN echo "podman: $(podman --version)"
164-
RUN echo "java: $(java --version)"
165-
RUN echo "helm: $(helm version)"
166-
RUN echo "kubectl: $(kubectl version --client)"
167-
RUN echo "ks: $(ks version)"
168-
RUN echo "sonar-scanner: $(sonar-scanner --version)"
169-
RUN echo "go: $(go version)"
170-
RUN echo "gradle: $(gradle --version)"
171-
RUN echo "mvn: $(mvn --version)"
172-
RUN echo "ant: $(ant -version)"
173-
RUN echo "nvm: $(nvm --version)"
174-
RUN echo "nvm current: $(nvm current)"
175-
RUN echo "npm: $(npm --version)"
176-
RUN echo "node: $(node --version)"
177-
RUN echo "yarn: $(yarn --version)"
178-
RUN echo "python: $(python --version)"
179-
RUN echo "pip: $(pip --version)"
180-
RUN echo "kustomize: $(kustomize version)"
181-
182160
# Clean up
183161
RUN apt-get clean && \
184162
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

0 commit comments

Comments
 (0)