Skip to content
Open
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions docker/crd-installer.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ RUN go mod download
COPY cmd/crdinstaller/ cmd/crdinstaller/
COPY pkg pkg

# Build with CGO enabled and GOEXPERIMENT=systemcrypto for internal usage
# Build with CGO enabled for internal usage
RUN echo "Building for GOOS=$GOOS GOARCH=$GOARCH"
RUN CGO_ENABLED=1 GOOS=$GOOS GOARCH=$GOARCH GOEXPERIMENT=systemcrypto GO111MODULE=on go build -o crdinstaller cmd/crdinstaller/main.go
RUN CGO_ENABLED=1 GOOS=$GOOS GOARCH=$GOARCH GO111MODULE=on go build -o crdinstaller cmd/crdinstaller/main.go

# Use Azure Linux distroless base image to package the crdinstaller binary
# Refer to https://mcr.microsoft.com/en-us/artifact/mar/azurelinux/distroless/base/about for more details
Expand Down
4 changes: 2 additions & 2 deletions docker/hub-agent.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ COPY cmd/hubagent/ cmd/hubagent/
COPY apis/ apis/
COPY pkg/ pkg/

# Build with CGO enabled and GOEXPERIMENT=systemcrypto for internal usage
# Build with CGO enabled for internal usage
RUN echo "Building for GOOS=$GOOS GOARCH=$GOARCH"
RUN CGO_ENABLED=1 GOOS=$GOOS GOARCH=$GOARCH GOEXPERIMENT=systemcrypto GO111MODULE=on go build -o hubagent cmd/hubagent/main.go
RUN CGO_ENABLED=1 GOOS=$GOOS GOARCH=$GOARCH GO111MODULE=on go build -o hubagent cmd/hubagent/main.go

# Use Azure Linux distroless base image to package the hubagent binary
# Refer to https://mcr.microsoft.com/en-us/artifact/mar/azurelinux/distroless/base/about for more details
Expand Down
2 changes: 1 addition & 1 deletion docker/member-agent.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ COPY pkg/ pkg/

# Build
RUN echo "Building images with GOOS=$GOOS GOARCH=$GOARCH"
RUN CGO_ENABLED=1 GOOS=$GOOS GOARCH=$GOARCH GOEXPERIMENT=systemcrypto GO111MODULE=on go build -o memberagent cmd/memberagent/main.go
RUN CGO_ENABLED=1 GOOS=$GOOS GOARCH=$GOARCH GO111MODULE=on go build -o memberagent cmd/memberagent/main.go

# Use Azure Linux distroless base image to package the memberagent binary
# Refer to https://mcr.microsoft.com/en-us/artifact/mar/azurelinux/distroless/base/about for more details
Expand Down
4 changes: 2 additions & 2 deletions docker/refresh-token.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ RUN go mod download
COPY cmd/authtoken/main.go main.go
COPY pkg/authtoken pkg/authtoken

# Build with CGO enabled and GOEXPERIMENT=systemcrypto for internal usage
# Build with CGO enabled for internal usage
RUN echo "Building for GOOS=${GOOS} GOARCH=${GOARCH}"
RUN CGO_ENABLED=1 GOOS=$GOOS GOARCH=$GOARCH GOEXPERIMENT=systemcrypto GO111MODULE=on go build -o refreshtoken main.go
RUN CGO_ENABLED=1 GOOS=$GOOS GOARCH=$GOARCH GO111MODULE=on go build -o refreshtoken main.go

# Use Azure Linux distroless base image to package the refreshtoken binary
# Refer to https://mcr.microsoft.com/en-us/artifact/mar/azurelinux/distroless/base/about for more details
Expand Down
Loading