Skip to content

Commit

Permalink
Handle case mismatch warning for FROM and AS (#194)
Browse files Browse the repository at this point in the history
Signed-off-by: Dean Roehrich <dean.roehrich@hpe.com>
  • Loading branch information
roehrich-hpe committed Aug 12, 2024
1 parent 27cfe15 commit d7b12ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ARG NNFMFU_TAG_BASE=ghcr.io/nearnodeflash/nnf-mfu
ARG NNFMFU_VERSION=master

# Build the manager binary
FROM golang:1.21-alpine as builder
FROM golang:1.21-alpine AS builder

ARG TARGETARCH
ARG TARGETOS
Expand All @@ -48,7 +48,7 @@ COPY internal/ internal/
RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a -o manager cmd/main.go

###############################################################################
FROM builder as testing
FROM builder AS testing

WORKDIR /workspace

Expand Down

0 comments on commit d7b12ce

Please sign in to comment.