Skip to content

Commit

Permalink
Fix error cannot verify mirrors.edge.kernel.org's certificate (#50)
Browse files Browse the repository at this point in the history
* Fix error cannot verify mirrors.edge.kernel.org's certificate

Signed-off-by: rick <[email protected]>

* Set the specific jdk version
  • Loading branch information
LinuxSuRen committed Oct 29, 2021
1 parent 0fc3951 commit 8a7f116
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64
build-args: "GOLANG_VERSION=1.12.10"
- name: Build and push Docker images for Contributors
uses: docker/[email protected]
if: github.repository_owner != 'kubesphere'
Expand All @@ -158,6 +159,7 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
labels: ${{ steps.metaContributors.outputs.labels }}
platforms: linux/amd64,linux/arm64
build-args: "GOLANG_VERSION=1.12.10"

BuildGo16:
needs: BuildBase
Expand Down Expand Up @@ -290,6 +292,7 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64
build-args: "JDK_VERSION=1.8.0"
- name: Build and push Docker images for Contributors
uses: docker/[email protected]
if: github.repository_owner != 'kubesphere'
Expand All @@ -300,6 +303,7 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
labels: ${{ steps.metaContributors.outputs.labels }}
platforms: linux/amd64,linux/arm64
build-args: "JDK_VERSION=1.8.0"

BuildMavenJDK11:
needs: BuildBase
Expand Down
2 changes: 1 addition & 1 deletion base/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM centos:7

# utils
RUN yum install -y epel-release && \
RUN yum install -y epel-release ca-certificates && \
yum install -y unzip \
which \
make \
Expand Down
2 changes: 1 addition & 1 deletion base/podman/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM centos:7

# utils
RUN yum install -y epel-release && \
RUN yum install -y epel-release ca-certificates && \
yum install -y unzip \
which \
make \
Expand Down
2 changes: 1 addition & 1 deletion dotnet/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM kubespheredev/builder-base:v3.1.0

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

RUN yum install -y dotnet-sdk-5.0 dotnet-sdk-3.1
RUN yum update -y && yum install -y dotnet-sdk-5.0 dotnet-sdk-3.1

RUN dotnet tool install --global dotnet-sonarscanner

Expand Down

0 comments on commit 8a7f116

Please sign in to comment.