Fix code smells of dockerfile (#2767)

* Fix code smells of dockerfile, To #47218832

Signed-off-by: cheyang <cheyang@163.com>

* Fix code smells of dockerfile, To #47218832

Signed-off-by: cheyang <cheyang@163.com>

---------

Signed-off-by: cheyang <cheyang@163.com>
This commit is contained in:
cheyang 2023-03-21 11:44:54 +08:00 committed by GitHub
parent 8cda8f9526
commit ac1fb4754f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 12 additions and 12 deletions

View File

@ -1,5 +1,5 @@
# Build the alluxioruntime-controller manager binary
FROM golang:1.18 as builder
FROM golang:1.18 AS builder
WORKDIR /go/src/github.com/fluid-cloudnative/fluid
COPY . .

View File

@ -1,5 +1,5 @@
# Build the fluidapp-controller manager binary
FROM golang:1.18 as builder
FROM golang:1.18 AS builder
WORKDIR /go/src/github.com/fluid-cloudnative/fluid
COPY . .

View File

@ -1,5 +1,5 @@
# Build the csi binary
FROM golang:1.18 as builder
FROM golang:1.18 AS builder
WORKDIR /go/src/github.com/fluid-cloudnative/fluid
COPY . .

View File

@ -1,5 +1,5 @@
# Build the dataset-controller manager binary
FROM golang:1.18 as builder
FROM golang:1.18 AS builder
WORKDIR /go/src/github.com/fluid-cloudnative/fluid
COPY . .

View File

@ -1,5 +1,5 @@
# Build the eacruntime-controller manager binary
FROM golang:1.18 as builder
FROM golang:1.18 AS builder
WORKDIR /go/src/github.com/fluid-cloudnative/fluid
COPY . .

View File

@ -1,5 +1,5 @@
# Build the goosefsruntime-controller manager binary
FROM golang:1.18 as builder
FROM golang:1.18 AS builder
WORKDIR /go/src/github.com/fluid-cloudnative/fluid
COPY . .

View File

@ -1,5 +1,5 @@
# Build the jindoruntime-controller manager binary
FROM golang:1.18 as builder
FROM golang:1.18 AS builder
WORKDIR /go/src/github.com/fluid-cloudnative/fluid
COPY . .

View File

@ -1,5 +1,5 @@
# Build the juicefsruntime-controller manager binary
FROM golang:1.18 as builder
FROM golang:1.18 AS builder
WORKDIR /go/src/github.com/fluid-cloudnative/fluid
COPY . .

View File

@ -1,5 +1,5 @@
# Build the thinruntime-controller manager binary
FROM golang:1.18 as builder
FROM golang:1.18 AS builder
WORKDIR /go/src/github.com/fluid-cloudnative/fluid
COPY . .

View File

@ -1,5 +1,5 @@
# Build the dataset-controller manager binary
FROM golang:1.18 as builder
FROM golang:1.18 AS builder
WORKDIR /go/src/github.com/fluid-cloudnative/fluid
COPY . .

View File

@ -3,7 +3,7 @@ sonar.organization=fluid-cloudnative
sonar.sources=.
sonar.exclusions=docs/**
sonar.exclusions=**/docs/**,**/docs-new/**,**/*test.go,**/vendor/**,**/apis/**
sonar.sourceEncoding=UTF-8
@ -11,10 +11,10 @@ sonar.host.url=https://sonarcloud.io
# Exclude following set of patterns from coverage analysis
sonar.coverage.exclusions=**/vendor/**,**/*_test.go,tests/**,docs/**
sonar.exclusions=**/*test.go,**/vendor/**
# Exclude following set of patterns from code analysis
sonar.go.exclusions=**/vendor/**,**/*_test.go,docs/**
# Exclude following set of patterns from duplication detection
sonar.cpd.exclusions=docs/**,docs-new/**,**/*test.go,**/vendor/**
sonar.securityhotspot.exclusions=**/charts/**