Skip to content

Commit 8a7f116

Browse files
authored
Fix error cannot verify mirrors.edge.kernel.org's certificate (#50)
* Fix error cannot verify mirrors.edge.kernel.org's certificate Signed-off-by: rick <[email protected]> * Set the specific jdk version
1 parent 0fc3951 commit 8a7f116

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

.github/workflows/build.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ jobs:
148148
push: ${{ github.event_name != 'pull_request' }}
149149
labels: ${{ steps.meta.outputs.labels }}
150150
platforms: linux/amd64,linux/arm64
151+
build-args: "GOLANG_VERSION=1.12.10"
151152
- name: Build and push Docker images for Contributors
152153
uses: docker/[email protected]
153154
if: github.repository_owner != 'kubesphere'
@@ -158,6 +159,7 @@ jobs:
158159
push: ${{ github.event_name != 'pull_request' }}
159160
labels: ${{ steps.metaContributors.outputs.labels }}
160161
platforms: linux/amd64,linux/arm64
162+
build-args: "GOLANG_VERSION=1.12.10"
161163

162164
BuildGo16:
163165
needs: BuildBase
@@ -290,6 +292,7 @@ jobs:
290292
push: ${{ github.event_name != 'pull_request' }}
291293
labels: ${{ steps.meta.outputs.labels }}
292294
platforms: linux/amd64,linux/arm64
295+
build-args: "JDK_VERSION=1.8.0"
293296
- name: Build and push Docker images for Contributors
294297
uses: docker/[email protected]
295298
if: github.repository_owner != 'kubesphere'
@@ -300,6 +303,7 @@ jobs:
300303
push: ${{ github.event_name != 'pull_request' }}
301304
labels: ${{ steps.metaContributors.outputs.labels }}
302305
platforms: linux/amd64,linux/arm64
306+
build-args: "JDK_VERSION=1.8.0"
303307

304308
BuildMavenJDK11:
305309
needs: BuildBase

base/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM centos:7
22

33
# utils
4-
RUN yum install -y epel-release && \
4+
RUN yum install -y epel-release ca-certificates && \
55
yum install -y unzip \
66
which \
77
make \

base/podman/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM centos:7
22

33
# utils
4-
RUN yum install -y epel-release && \
4+
RUN yum install -y epel-release ca-certificates && \
55
yum install -y unzip \
66
which \
77
make \

dotnet/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM kubespheredev/builder-base:v3.1.0
22

33
RUN rpm -Uvh https://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm
44

5-
RUN yum install -y dotnet-sdk-5.0 dotnet-sdk-3.1
5+
RUN yum update -y && yum install -y dotnet-sdk-5.0 dotnet-sdk-3.1
66

77
RUN dotnet tool install --global dotnet-sonarscanner
88

0 commit comments

Comments
 (0)