From b9d04432664b343d14d8084e7566d543e1365292 Mon Sep 17 00:00:00 2001 From: ~tong <1454579997@qq.com> Date: Thu, 29 Feb 2024 10:48:11 +0800 Subject: [PATCH] debug --- azure-pipelines/azure-pipelines.yml | 3 --- dockerfiles/Dockerfile.deviceshifuPLC4X | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/azure-pipelines/azure-pipelines.yml b/azure-pipelines/azure-pipelines.yml index 836bf7cb4..0c412b1c2 100644 --- a/azure-pipelines/azure-pipelines.yml +++ b/azure-pipelines/azure-pipelines.yml @@ -94,9 +94,6 @@ stages: tag=`cat version.txt` && echo "##vso[task.setvariable variable=tag]$tag" displayName: Set the tag name as an environment variable - script: | - go env - ehco =========== - go env GOARCH make buildx-build-image-shifu-controller displayName: build edgehub/shifu-controller - script: | diff --git a/dockerfiles/Dockerfile.deviceshifuPLC4X b/dockerfiles/Dockerfile.deviceshifuPLC4X index 09acdba53..0fdc4970c 100644 --- a/dockerfiles/Dockerfile.deviceshifuPLC4X +++ b/dockerfiles/Dockerfile.deviceshifuPLC4X @@ -1,5 +1,5 @@ # Build the manager binary -FROM --platform=$TARGETPLATFORM golang:1.22.0-buster as builder +FROM --platform=$TARGETPLATFORM golang:1.22.0-alpine as builder WORKDIR /shifu