Merge pull request #7457 from adrianmoisey/docker-warnings

Remove Docker build warnings
This commit is contained in:
Kubernetes Prow Robot 2024-11-04 16:35:29 +00:00 committed by GitHub
commit 213a8595ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 9 deletions

View File

@ -12,10 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM --platform=$BUILDPLATFORM golang:1.23.2 as builder
FROM --platform=$BUILDPLATFORM golang:1.23.2 AS builder
ENV GOPATH /gopath/
ENV PATH $GOPATH/bin:$PATH
ENV GOPATH=/gopath/
ENV PATH=$GOPATH/bin:$PATH
COPY . /gopath/src/k8s.io/autoscaler/vertical-pod-autoscaler
WORKDIR /gopath/src/k8s.io/autoscaler/vertical-pod-autoscaler

View File

@ -12,10 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM --platform=$BUILDPLATFORM golang:1.23.2 as builder
FROM --platform=$BUILDPLATFORM golang:1.23.2 AS builder
ENV GOPATH /gopath/
ENV PATH $GOPATH/bin:$PATH
ENV GOPATH=/gopath/
ENV PATH=$GOPATH/bin:$PATH
COPY . /gopath/src/k8s.io/autoscaler/vertical-pod-autoscaler
WORKDIR /gopath/src/k8s.io/autoscaler/vertical-pod-autoscaler

View File

@ -12,10 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM --platform=$BUILDPLATFORM golang:1.23.2 as builder
FROM --platform=$BUILDPLATFORM golang:1.23.2 AS builder
ENV GOPATH /gopath/
ENV PATH $GOPATH/bin:$PATH
ENV GOPATH=/gopath/
ENV PATH=$GOPATH/bin:$PATH
COPY . /gopath/src/k8s.io/autoscaler/vertical-pod-autoscaler
WORKDIR /gopath/src/k8s.io/autoscaler/vertical-pod-autoscaler