Skip to content

Commit

Permalink
Merge pull request #1753 from ArangoGutierrez/1752
Browse files Browse the repository at this point in the history
Dockerfile: fix FromAs Casing
  • Loading branch information
k8s-ci-robot committed Jul 2, 2024
2 parents 0418e7d + a642414 commit 30dcae8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG BASE_IMAGE_FULL
ARG BASE_IMAGE_MINIMAL

# Build node feature discovery
FROM ${BUILDER_IMAGE} as builder
FROM ${BUILDER_IMAGE} AS builder

# Get (cache) deps in a separate layer
COPY go.mod go.sum /go/node-feature-discovery/
Expand All @@ -22,7 +22,7 @@ ARG HOSTMOUNT_PREFIX
RUN make install VERSION=$VERSION HOSTMOUNT_PREFIX=$HOSTMOUNT_PREFIX

# Create full variant of the production image
FROM ${BASE_IMAGE_FULL} as full
FROM ${BASE_IMAGE_FULL} AS full

# Run as unprivileged user
USER 65534:65534
Expand All @@ -34,7 +34,7 @@ COPY --from=builder /go/node-feature-discovery/deployment/components/worker-conf
COPY --from=builder /go/bin/* /usr/bin/

# Create minimal variant of the production image
FROM ${BASE_IMAGE_MINIMAL} as minimal
FROM ${BASE_IMAGE_MINIMAL} AS minimal

# Run as unprivileged user
USER 65534:65534
Expand Down

0 comments on commit 30dcae8

Please sign in to comment.